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 200
def initialize(controller) @controller = controller end
Instance Method Details
#handle_unverified_request
[ GitHub ]# File 'actionpack/lib/action_controller/metal/request_forgery_protection.rb', line 204
def handle_unverified_request @controller.reset_session end