class ActionController::RequestForgeryProtection::ProtectionMethods::ResetSession - actionpack-4.2.3 Documentation

# class ActionController::RequestForgeryProtection::ProtectionMethods::ResetSession

### Public Class Methods

new(controller) click to toggle source

    # File lib/action_controller/metal/request_forgery_protection.rb, line 166
    def initialize(controller)
      @controller = controller
    end

### Public Instance Methods

handle_unverified_request() click to toggle source

    # File lib/action_controller/metal/request_forgery_protection.rb, line 170
    def handle_unverified_request
      @controller.reset_session
    end