aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
diff options
context:
space:
mode:
authorSteve Klabnik <steve@steveklabnik.com>2013-03-13 15:20:23 -0700
committerSteve Klabnik <steve@steveklabnik.com>2013-03-13 15:20:23 -0700
commit5bf6d8e7c14ebcb53d1a9f19fee6d2a2e7ef17a2 (patch)
treec7b4d1da30086de204f3fc88a7fbef3830e64c04 /actionpack/lib
parent02caa0252736190dba41484f406c702e5069a0a6 (diff)
downloadrails-5bf6d8e7c14ebcb53d1a9f19fee6d2a2e7ef17a2.tar.gz
rails-5bf6d8e7c14ebcb53d1a9f19fee6d2a2e7ef17a2.tar.bz2
rails-5bf6d8e7c14ebcb53d1a9f19fee6d2a2e7ef17a2.zip
Fix docs: response -> request.
Even though I read it carefully, my brain tricked me. :cry:
Diffstat (limited to 'actionpack/lib')
-rw-r--r--actionpack/lib/action_dispatch/http/request.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_dispatch/http/request.rb b/actionpack/lib/action_dispatch/http/request.rb
index e1b845d73a..ac9cf7a80c 100644
--- a/actionpack/lib/action_dispatch/http/request.rb
+++ b/actionpack/lib/action_dispatch/http/request.rb
@@ -159,10 +159,10 @@ module ActionDispatch
# Returns the +String+ full path including params of the last URL requested.
#
# app.get "/articles"
- # app.response.fullpath # => "/articles"
+ # app.request.fullpath # => "/articles"
#
# app.get "/articles?page=2"
- # app.response.fullpath # => "/articles?page=2"
+ # app.request.fullpath # => "/articles?page=2"
def fullpath
@fullpath ||= super
end