Permalink
Browse files

Fix docs: response -> request.

Even though I read it carefully, my brain tricked me. 😢
  • Loading branch information...
1 parent 02caa02 commit 5bf6d8e7c14ebcb53d1a9f19fee6d2a2e7ef17a2 @steveklabnik steveklabnik committed Mar 13, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 actionpack/lib/action_dispatch/http/request.rb
@@ -159,10 +159,10 @@ def original_fullpath
# 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

0 comments on commit 5bf6d8e

Please sign in to comment.