Method: Mime::Type#verify_request?
- Defined in:
- lib/action_controller/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.
189 190 191 |
# File 'lib/action_controller/mime_type.rb', line 189 def verify_request? browser_generated? end |