CSRF tokens were being overly checked, and breaking most edition forms...
This commit is contained in:
parent
b989e079f0
commit
e624bcf375
@ -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…
Reference in New Issue
Block a user