mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Updated documentation
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@194 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
@@ -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
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user