method
verify_same_origin_request
v4.2.1 -
Show latest stable
- Class:
ActionController::RequestForgeryProtection
verify_same_origin_request()protected
If `verify_authenticity_token` was run (indicating that we have forgery protection enabled for this request) then also verify that we aren’t serving an unauthorized cross-origin response.