diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-09-24 18:38:45 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-09-24 18:38:45 +0000 |
commit | 650888c73b734dc9e7bf9ce4a20cb05de68c45a1 (patch) | |
tree | 05ff46d3f804c1699fb099184c90e7413ddbf03d /config | |
parent | 042ef42da0efb38b224a045cd6d03649b979a494 (diff) | |
download | redmine-650888c73b734dc9e7bf9ce4a20cb05de68c45a1.tar.gz redmine-650888c73b734dc9e7bf9ce4a20cb05de68c45a1.zip |
Added a named route for the home page.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@760 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/config/routes.rb b/config/routes.rb index a980f3f51..62a74446f 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -6,9 +6,7 @@ ActionController::Routing::Routes.draw do |map| # map.connect 'products/:id', :controller => 'catalog', :action => 'view' # Keep in mind you can assign values other than :controller and :action - # You can have the root of your site routed by hooking up '' - # -- just remember to delete public/index.html. - map.connect '', :controller => "welcome" + map.home '', :controller => 'welcome' map.connect 'wiki/:id/:page/:action', :controller => 'wiki', :page => nil
map.connect 'roles/workflow/:id/:role_id/:tracker_id', :controller => 'roles', :action => 'workflow'
|