instance method
instrument_csrf_event
Ruby on Rails edge
Since edge Private — implementation detail, not part of the public APISignature
instrument_csrf_event(event, message: nil)
No documentation comment.
Parameters
-
eventreq -
messagekey = nil
Source
# File actionpack/lib/action_controller/metal/request_forgery_protection.rb, line 681
def instrument_csrf_event(event, message: nil)
ActiveSupport::Notifications.instrument event,
request: request,
controller: self.class.name,
action: action_name,
sec_fetch_site: sec_fetch_site_value,
message: message
end
Defined in actionpack/lib/action_controller/metal/request_forgery_protection.rb line 681
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::RequestForgeryProtection