route: code layout clean up welcome route

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8415 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2011-12-29 08:04:00 +00:00
parent fac50f1143
commit c4c4931c6b
1 changed files with 2 additions and 1 deletions

View File

@ -351,7 +351,8 @@ ActionController::Routing::Routes.draw do |map|
:conditions => {:method => :get}
end
map.connect 'robots.txt', :controller => 'welcome', :action => 'robots', :conditions => {:method => :get}
map.connect 'robots.txt', :controller => 'welcome',
:action => 'robots', :conditions => {:method => :get}
# Used for OpenID
map.root :controller => 'account', :action => 'login'