instance method
verify_authenticity_token
Ruby on Rails 2.2.3
Since v2.2.3Signature
verify_authenticity_token()
The actual before_filter that is used. Modify this to change how you handle unverified requests.
Source
# File actionpack/lib/action_controller/request_forgery_protection.rb, line 85
def verify_authenticity_token
verified_request? || raise(ActionController::InvalidAuthenticityToken)
end
Defined in actionpack/lib/action_controller/request_forgery_protection.rb line 85
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::RequestForgeryProtection