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