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