Skip to content

Allow form_authenticity_param to be overridden as in ActionPack#20

Open
bwillis wants to merge 1 commit intomeldium:masterfrom
bwillis:add-auth-param-overridable-method
Open

Allow form_authenticity_param to be overridden as in ActionPack#20
bwillis wants to merge 1 commit intomeldium:masterfrom
bwillis:add-auth-param-overridable-method

Conversation

@bwillis
Copy link
Copy Markdown

@bwillis bwillis commented Mar 31, 2015

ActionPack exposes form_authenticity_param to allow the authenticity param lookup to be overridden (rails/rails@e1385be). The monkey patch does not leverage the method so we loose this ability. This change calls the method rather than using the params lookup.

ActionPack exposes `form_authenticity_param` to allow the authenticity
param lookup to be overridden
(rails/rails@e1385be
1de64af). The monkey patch does not leverage the method so we loose
this ability. This change calls the method rather than using the params
lookup.
@bwillis
Copy link
Copy Markdown
Author

bwillis commented Jul 22, 2015

Any thoughts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant