mirror of
https://github.com/github/rails.git
synced 2026-01-30 00:38:00 -05:00
Changing "and" to && whereever I catch it
This commit is contained in:
@@ -165,7 +165,7 @@ module ActionController #:nodoc:
|
||||
# method if you wish to redefine the meaning of a local request to
|
||||
# include remote IP addresses or other criteria.
|
||||
def local_request? #:doc:
|
||||
request.remote_addr == LOCALHOST and request.remote_ip == LOCALHOST
|
||||
request.remote_addr == LOCALHOST && request.remote_ip == LOCALHOST
|
||||
end
|
||||
|
||||
# Render detailed diagnostics for unhandled exceptions rescued from
|
||||
|
||||
Reference in New Issue
Block a user