mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge [5641] to Trunk
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5642 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
parent
02dfb239fa
commit
f6e85e4ec6
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ module ActionController
|
|||
# performed on the location header.
|
||||
def follow_redirect!
|
||||
raise "not a redirect! #{@status} #{@status_message}" unless redirect?
|
||||
get(interpret_uri(headers['Location'].first))
|
||||
get(interpret_uri(headers['location'].first))
|
||||
status
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue