From 5bf6d8e7c14ebcb53d1a9f19fee6d2a2e7ef17a2 Mon Sep 17 00:00:00 2001 From: Steve Klabnik <steve@steveklabnik.com> Date: Wed, 13 Mar 2013 15:20:23 -0700 Subject: Fix docs: response -> request. Even though I read it carefully, my brain tricked me. :cry: --- actionpack/lib/action_dispatch/http/request.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'actionpack/lib') 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 -- cgit v1.2.3