123456789_123456789_123456789_123456789_123456789_

Exception: ActionController::RequestForgeryProtection::ProtectionMethods::Exception

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, ::Exception
Instance Chain:
self, ::Exception
Inherits: Exception
  • ::Object
Defined in: actionpack/lib/action_controller/metal/request_forgery_protection.rb

Class Method Summary

Instance Method Summary

Constructor Details

.new(controller) ⇒ Exception

[ GitHub ]

  
# File 'actionpack/lib/action_controller/metal/request_forgery_protection.rb', line 206

def initialize(controller)
  @controller = controller
end

Instance Method Details

#handle_unverified_request

[ GitHub ]

  
# File 'actionpack/lib/action_controller/metal/request_forgery_protection.rb', line 210

def handle_unverified_request
  raise ActionController::InvalidAuthenticityToken
end