CSRF tokens were being overly checked, and breaking most edition forms...

remotes/origin/master
echarp 5 years ago
parent b989e079f0
commit e624bcf375
  1. 5
      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

Loading…
Cancel
Save