From 650888c73b734dc9e7bf9ce4a20cb05de68c45a1 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Mon, 24 Sep 2007 18:38:45 +0000 Subject: Added a named route for the home page. git-svn-id: http://redmine.rubyforge.org/svn/trunk@760 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- config/routes.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'config') 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' -- cgit v1.2.3