Skip to Content Skip to Search

class ActionController::RequestForgeryProtection::ProtectionMethods::ResetSession

Public class methods

Source code GitHub
# File actionpack/lib/action_controller/metal/request_forgery_protection.rb, line 295
def initialize(controller)
  @controller = controller
end

Public instance methods

Source code GitHub
# File actionpack/lib/action_controller/metal/request_forgery_protection.rb, line 299
def handle_unverified_request
  @controller.reset_session
end

Definition files