diff options
author | Piotr Sarnacki <drogus@gmail.com> | 2012-03-28 04:03:50 +0200 |
---|---|---|
committer | Piotr Sarnacki <drogus@gmail.com> | 2012-03-28 18:03:15 +0200 |
commit | 805b15ff35122f5fd0bb9c1742578b14eebfac32 (patch) | |
tree | 7c01ed925098e52f5903f5f45c0a5d46cf62d1e1 /actionpack/lib/action_view/context.rb | |
parent | 6cff09038d5d78e6a4a12d0a27c6b1b87f0a5147 (diff) | |
download | rails-805b15ff35122f5fd0bb9c1742578b14eebfac32.tar.gz rails-805b15ff35122f5fd0bb9c1742578b14eebfac32.tar.bz2 rails-805b15ff35122f5fd0bb9c1742578b14eebfac32.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)
Conflicts:
actionpack/CHANGELOG.md
Diffstat (limited to 'actionpack/lib/action_view/context.rb')
0 files changed, 0 insertions, 0 deletions