method

local_request?

Importance_1
v2.2.1 - Show latest stable - 0 notes - 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.

Show source
Register or log in to add new notes.