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:
Pierre de La Morinerie 2020-08-05 13:51:07 +02:00 committed by GitHub
commit 31cc9de498
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 4 deletions

View file

@ -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'

View file

@ -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/"

View file

@ -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

View file

@ -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.