instance method
verify_request?
Ruby on Rails 3.2.22.5
Since v2.2.3 Last seen in v4.0.13Signature
verify_request?()
Returns true if Action Pack should check requests using this Mime Type for possible request forgery. See ActionController::RequestForgeryProtection.
Source
# File actionpack/lib/action_dispatch/http/mime_type.rb, line 263
def verify_request?
@@browser_generated_types.include?(to_sym)
end
Defined in actionpack/lib/action_dispatch/http/mime_type.rb line 263
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Mime::Type