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 Attribute Summary
Instance Method Summary
Constructor Details
.new(controller) ⇒ Exception
# File 'actionpack/lib/action_controller/metal/request_forgery_protection.rb', line 288
def initialize(controller) @controller = controller end
Instance Attribute Details
#warning_message (rw)
[ GitHub ]# File 'actionpack/lib/action_controller/metal/request_forgery_protection.rb', line 286
attr_accessor :
Instance Method Details
#handle_unverified_request
# File 'actionpack/lib/action_controller/metal/request_forgery_protection.rb', line 292
def handle_unverified_request raise ActionController::InvalidAuthenticityToken, end