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