Merge pull request #5446 from betagouv/rails-5.1-config
Utilisation de la configuration Rails 5.1 par défaut
This commit is contained in:
commit
31cc9de498
4 changed files with 5 additions and 4 deletions
|
@ -18,7 +18,7 @@
|
|||
.col-xs-6
|
||||
%h3 Ajouter un instructeur
|
||||
#procedure_new.section.section-label
|
||||
= form_with url: { controller: 'admin/instructeurs', action: :create } do
|
||||
= form_with url: { controller: 'admin/instructeurs', action: :create }, local: true do
|
||||
.row
|
||||
.col-xs-5
|
||||
= render partial: 'admin/instructeurs/informations'
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
.container
|
||||
%h1
|
||||
= form_with model: @procedure, url: url_for({ controller: 'new_administrateur/procedures', action: :update_jeton }), html: { class: 'form' } do |f|
|
||||
= form_with model: @procedure, url: url_for({ controller: 'new_administrateur/procedures', action: :update_jeton }), local: true, html: { class: 'form' } do |f|
|
||||
%p.explication
|
||||
Démarches Simplifiées utilise
|
||||
= link_to 'API Entreprise', "https://entreprise.api.gouv.fr/"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
= form_with model: [ :admin, service] , html: { class: 'form' } do |f|
|
||||
= form_with model: [ :admin, service], local: true, html: { class: 'form' } do |f|
|
||||
|
||||
= f.label :nom do
|
||||
Nom
|
||||
|
|
|
@ -11,7 +11,8 @@ Dotenv::Railtie.load
|
|||
|
||||
module TPS
|
||||
class Application < Rails::Application
|
||||
config.load_defaults 5.0
|
||||
config.load_defaults 5.1
|
||||
|
||||
# Settings in config/environments/* take precedence over those specified here.
|
||||
# Application configuration should go into files in config/initializers
|
||||
# -- all .rb files in that directory are automatically loaded.
|
||||
|
|
Loading…
Reference in a new issue