instance method
form_authenticity_param
Ruby on Rails 4.0.13
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 201
def form_authenticity_param
params[request_forgery_protection_token]
end
Defined in actionpack/lib/action_controller/metal/request_forgery_protection.rb line 201
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::RequestForgeryProtection