Method: Mime::Type#verify_request?
- Defined in:
- lib/dependency/mime_type.rb
#verify_request? ⇒ Boolean
Returns true if Action Pack should check requests using this Mime Type for possible request forgery. See ActionController::RequestForgeryProtection.
212 213 214 |
# File 'lib/dependency/mime_type.rb', line 212 def verify_request? @@browser_generated_types.include?(to_sym) end |