@@ -1,24 +1,24 | |||
|
1 | 1 | ActionController::Routing::Routes.draw do |map| |
|
2 | 2 | # Add your own custom routes here. |
|
3 | 3 | # The priority is based upon order of creation: first created -> highest priority. |
|
4 | 4 | |
|
5 | 5 | # Here's a sample route: |
|
6 | 6 | # map.connect 'products/:id', :controller => 'catalog', :action => 'view' |
|
7 | 7 | # Keep in mind you can assign values other than :controller and :action |
|
8 | 8 | |
|
9 | 9 | # You can have the root of your site routed by hooking up '' |
|
10 | 10 | # -- just remember to delete public/index.html. |
|
11 | 11 | map.connect '', :controller => "welcome" |
|
12 | 12 | |
|
13 | 13 | map.connect 'roles/workflow/:id/:role_id/:tracker_id', :controller => 'roles', :action => 'workflow' |
|
14 | 14 | map.connect 'help/:ctrl/:page', :controller => 'help' |
|
15 | map.connect ':controller/:action/:id/:sort_key/:sort_order' | |
|
15 | #map.connect ':controller/:action/:id/:sort_key/:sort_order' | |
|
16 | 16 | |
|
17 | 17 | # Allow downloading Web Service WSDL as a file with an extension |
|
18 | 18 | # instead of a file named 'wsdl' |
|
19 | 19 | map.connect ':controller/service.wsdl', :action => 'wsdl' |
|
20 | 20 | |
|
21 | 21 | |
|
22 | 22 | # Install the default route as the lowest priority. |
|
23 | 23 | map.connect ':controller/:action/:id' |
|
24 | 24 | end |
General Comments 0
You need to be logged in to leave comments.
Login now