class ActionController::RequestForgeryProtection::ProtectionMethods::Exception
Attributes
[RW] | warning_message |
Public class methods
Source code GitHub
# File actionpack/lib/action_controller/metal/request_forgery_protection.rb, line 307
def initialize(controller)
@controller = controller
end
Public instance methods
Source code GitHub
# File actionpack/lib/action_controller/metal/request_forgery_protection.rb, line 311
def handle_unverified_request
raise ActionController::InvalidAuthenticityToken, warning_message
end