aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/cases/validations_test.rb
diff options
context:
space:
mode:
authorPiotr Sarnacki <drogus@gmail.com>2012-03-28 04:03:50 +0200
committerPiotr Sarnacki <drogus@gmail.com>2012-03-28 14:37:23 +0200
commitd646d9d2e76a66037cb258c179a6ca5133f13ede (patch)
tree0430fc84a0a89e29a4b5cd97a480465fe5e26e89 /activemodel/test/cases/validations_test.rb
parent2d5b60e982cf210c36f849185382546cf16b52b9 (diff)
downloadrails-d646d9d2e76a66037cb258c179a6ca5133f13ede.tar.gz
rails-d646d9d2e76a66037cb258c179a6ca5133f13ede.tar.bz2
rails-d646d9d2e76a66037cb258c179a6ca5133f13ede.zip
Added config.action_view.embed_authenticity_token_in_remote_forms
There is a regression introduced in 16ee611fa, which breaks remote forms that should also work without javascript. This commit introduces config option that allows to configure this behavior defaulting to the old behavior (ie. include authenticity token in remote forms by default)
Diffstat (limited to 'activemodel/test/cases/validations_test.rb')
0 files changed, 0 insertions, 0 deletions