Redirects to root should be / not ""
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@730 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
parent
f384582240
commit
675fd47e83
|
@ -43,6 +43,7 @@ module ActionController
|
|||
|
||||
path, extras = Routing::Routes.generate(options, @request)
|
||||
path = "/#{path.join('/')}".chomp '/'
|
||||
path = '/' if path.empty?
|
||||
path += build_query_string(extras)
|
||||
|
||||
return path
|
||||
|
|
Loading…
Reference in New Issue