Methods

Attributes

[RW] warning_message

Class Public methods

new(controller)

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

Instance Public methods

handle_unverified_request()

# File actionpack/lib/action_controller/metal/request_forgery_protection.rb, line 250
def handle_unverified_request
  raise ActionController::InvalidAuthenticityToken, warning_message
end