instance method
verify_authenticity_token
Ruby on Rails 3.0.20
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/metal/request_forgery_protection.rb, line 93
def verify_authenticity_token
verified_request? || handle_unverified_request
end
Defined in actionpack/lib/action_controller/metal/request_forgery_protection.rb line 93
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::RequestForgeryProtection