Exception: ActionController::RequestForgeryProtection::ProtectionMethods::Exception
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
Exception
|
|
Instance Chain:
self,
Exception
|
|
Inherits: |
Exception
|
Defined in: | actionpack/lib/action_controller/metal/request_forgery_protection.rb |
Class Method Summary
- .new(controller) ⇒ Exception constructor
Instance Method Summary
Constructor Details
.new(controller) ⇒ Exception
# File 'actionpack/lib/action_controller/metal/request_forgery_protection.rb', line 176
def initialize(controller) @controller = controller end
Instance Method Details
#handle_unverified_request
# File 'actionpack/lib/action_controller/metal/request_forgery_protection.rb', line 180
def handle_unverified_request raise ActionController::InvalidAuthenticityToken end