Methods

Attributes

[RW] warning_message

Class Public methods

new(controller)

📝 Source code
# File actionpack/lib/action_controller/metal/request_forgery_protection.rb, line 288
        def initialize(controller)
          @controller = controller
        end
🔎 See on GitHub

Instance Public methods

handle_unverified_request()

📝 Source code
# File actionpack/lib/action_controller/metal/request_forgery_protection.rb, line 292
        def handle_unverified_request
          raise ActionController::InvalidAuthenticityToken, warning_message
        end
🔎 See on GitHub