Embed auth token in remote forms #5633

merged 1 commit into from Mar 28, 2012
Commits on Mar 28, 2012
  1. Added config.action_view.embed_authenticity_token_in_remote_forms

    drogus committed Mar 28, 2012
    There is a regression introduced in 16ee611, 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)