Description:
change start page git-svn-id: http://theory.cpe.ku.ac.th/grader/web/trunk@8 6386c4cd-e34a-4fa8-8920-d93eb39b512e
Commit status:
[Not Reviewed]
References:
Comments:
0 Commit comments 0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
Add another comment

r5:13e6672bec4d - - 2 files changed: 1 inserted, 278 deleted

@@ -2,22 +2,22
2 2 # The priority is based upon order of creation: first created -> highest priority.
3 3
4 4 # Sample of regular route:
5 5 # map.connect 'products/:id', :controller => 'catalog', :action => 'view'
6 6 # Keep in mind you can assign values other than :controller and :action
7 7
8 8 # Sample of named route:
9 9 # map.purchase 'products/:id/purchase', :controller => 'catalog', :action => 'purchase'
10 10 # This route can be invoked with purchase_url(:id => product.id)
11 11
12 12 # You can have the root of your site routed by hooking up ''
13 13 # -- just remember to delete public/index.html.
14 - # map.connect '', :controller => "welcome"
14 + map.connect '', :controller => 'main'
15 15
16 16 # Allow downloading Web Service WSDL as a file with an extension
17 17 # instead of a file named 'wsdl'
18 18 map.connect ':controller/service.wsdl', :action => 'wsdl'
19 19
20 20 # Install the default route as the lowest priority.
21 21 map.connect ':controller/:action/:id.:format'
22 22 map.connect ':controller/:action/:id'
23 23 end
You need to be logged in to leave comments. Login now