diff options
author | Chase DuBois <cdubois@goodreads.com> | 2013-01-05 13:03:26 -0800 |
---|---|---|
committer | Chase DuBois <cdubois@goodreads.com> | 2013-01-05 13:03:26 -0800 |
commit | 0836b7441e21e5712bf2a69acf571a88317d03ca (patch) | |
tree | 0d1b6d9983f214fcc53265b8377d72f26044d267 | |
parent | 11f74f08b880deeb6b400fb5f82c5273b5e8b51c (diff) | |
download | rails-0836b7441e21e5712bf2a69acf571a88317d03ca.tar.gz rails-0836b7441e21e5712bf2a69acf571a88317d03ca.tar.bz2 rails-0836b7441e21e5712bf2a69acf571a88317d03ca.zip |
HTTP 302 means Found, not Moved
-rw-r--r-- | actionpack/lib/action_controller/metal/redirecting.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/metal/redirecting.rb b/actionpack/lib/action_controller/metal/redirecting.rb index 091facfd8d..13ec55fe92 100644 --- a/actionpack/lib/action_controller/metal/redirecting.rb +++ b/actionpack/lib/action_controller/metal/redirecting.rb @@ -32,7 +32,7 @@ module ActionController # redirect_to :back # redirect_to proc { edit_post_url(@post) } # - # The redirection happens as a "302 Moved" header unless otherwise specified. + # The redirection happens as a "302 Found" header unless otherwise specified. # # redirect_to post_url(@post), status: :found # redirect_to action: 'atom', status: :moved_permanently |