method
form_authenticity_token
v2.3.8 -
Show latest stable
- Class:
ActionController::RequestForgeryProtection
form_authenticity_token()protected
Sets the token value for the current session. Pass a :secret option in protect_from_forgery to add a custom salt to the hash.