method
valid_request_origin?
rails latest stable - Class:
ActionController::RequestForgeryProtection
valid_request_origin?()private
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.