method
valid_request_origin?
v5.0.0.1 -
Show latest stable
- Class:
ActionController::RequestForgeryProtection
valid_request_origin?()protected
Checks if the request originated from the same origin by looking at the Origin header.
valid_request_origin?()Checks if the request originated from the same origin by looking at the Origin header.