instance method
protect_against_forgery?
Ruby on Rails 2.2.3
Since v2.2.3Signature
protect_against_forgery?()
No documentation comment.
Source
# File actionpack/lib/action_controller/request_forgery_protection.rb, line 136
def protect_against_forgery?
allow_forgery_protection && request_forgery_protection_token
end
Defined in actionpack/lib/action_controller/request_forgery_protection.rb line 136
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::RequestForgeryProtection