instance method
form_authenticity_param
Ruby on Rails 3.0.20
Since v2.3.18Signature
form_authenticity_param()
The form’s authenticity parameter. Override to provide your own.
Source
# File actionpack/lib/action_controller/metal/request_forgery_protection.rb, line 118
def form_authenticity_param
params[request_forgery_protection_token]
end
Defined in actionpack/lib/action_controller/metal/request_forgery_protection.rb line 118
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::RequestForgeryProtection