public
Description: Ruby on Rails
Homepage: http://rubyonrails.org
Clone URL: git://github.com/rails/rails.git
Search Repo:
Redirects to root should be / not ""

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@730 
5ecf4fe2-1ee6-0310-87b1-e25e094e27de
dhh (author)
Sun Feb 20 18:04:01 -0800 2005
commit  675fd47e8373db9172a22411af8b1aec5a278aa5
tree    1e1fee2778ce96691ae12f40a5854ca66417390a
parent  f3845822401025cffba6bb470ad64e48b9b3a4f6
...
43
44
45
 
46
47
48
...
43
44
45
46
47
48
49
0
@@ -43,6 +43,7 @@ module ActionController
0
         
0
         path, extras = Routing::Routes.generate(options, @request)
0
         path = "/#{path.join('/')}".chomp '/'
0
+ path = '/' if path.empty?
0
         path += build_query_string(extras)
0
         
0
         return path

Comments

    No one has commented yet.