Class: ActionController::RequestForgeryProtection::ProtectionMethods::ResetSession
Relationships & Source Files | |
Inherits: | Object |
Defined in: | actionpack/lib/action_controller/metal/request_forgery_protection.rb |
Class Method Summary
- .new(controller) ⇒ ResetSession constructor
Instance Method Summary
Constructor Details
.new(controller) ⇒ ResetSession
# File 'actionpack/lib/action_controller/metal/request_forgery_protection.rb', line 166
def initialize(controller) @controller = controller end
Instance Method Details
#handle_unverified_request
[ GitHub ]# File 'actionpack/lib/action_controller/metal/request_forgery_protection.rb', line 170
def handle_unverified_request @controller.reset_session end