Added a named route for the home page.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@760 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
1 parent
042ef42da0
commit
650888c73b
3 files changed
+8
-10
No files matched your search
+1
-3
@@ -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'
|
||||
|
||||
Reference in new issue
Block a user