Browse Source

route: code layout clean up welcome route

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8415 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/1.4.0
Toshi MARUYAMA 12 years ago
parent
commit
c4c4931c6b
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      config/routes.rb

+ 2
- 1
config/routes.rb 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'

Loading…
Cancel
Save