aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
diff options
context:
space:
mode:
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