diff options
Diffstat (limited to 'actionpack/lib')
-rwxr-xr-x | actionpack/lib/action_controller/base.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/base.rb b/actionpack/lib/action_controller/base.rb index e3b52278ba..7afacd4f69 100755 --- a/actionpack/lib/action_controller/base.rb +++ b/actionpack/lib/action_controller/base.rb @@ -775,7 +775,7 @@ module ActionController #:nodoc: end if location = options[:location] - response.headers["Location"] = location + response.headers["Location"] = url_for(location) end if text = options[:text] |