mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Changing "and" to && whereever I catch it
This commit is contained in:
parent
a37546517d
commit
162c7c1908
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue