diff options
Diffstat (limited to 'actionpack/lib/action_controller/base.rb')
-rwxr-xr-x | actionpack/lib/action_controller/base.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/base.rb b/actionpack/lib/action_controller/base.rb index 8bcf12a1a9..1eb32d2152 100755 --- a/actionpack/lib/action_controller/base.rb +++ b/actionpack/lib/action_controller/base.rb @@ -58,7 +58,7 @@ module ActionController #:nodoc: # accessing the environment hash, like this: # # def hello_ip - # location = @request.env["REMOTE_ADDRESS"] + # location = @request.env["REMOTE_IP"] # render_text "Hello stranger from #{location}" # end # |