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