Skip to Content Skip to Search
Methods
H
N

Attributes

[RW] warning_message

Class Public methods

new(controller)

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

Instance Public methods

handle_unverified_request()

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