diff --git a/config/application.rb b/config/application.rb index 5920958a..69ce4966 100644 --- a/config/application.rb +++ b/config/application.rb @@ -42,5 +42,10 @@ module AgendaDuLibreRails # In rails 4, plugin and vendor images need to be precompiled config.assets.precompile += %w[*.png *.jpg *.jpeg *.gif] + + # Rails 5 now defaults to csrf tokens per form, which breaks adl for the + # time being + # TODO + config.action_controller.per_form_csrf_tokens = false end end