method
local_request?
v2.2.1 -
Show latest stable
- Class:
ActionController::Rescue
local_request?(#:doc:)protected
True if the request came from localhost, 127.0.0.1. Override this method if you wish to redefine the meaning of a local request to include remote IP addresses or other criteria.