0
-ActionController::Routing::Routes.draw do |map|
0
- # Add your own custom routes here.
0
- # The priority is based upon order of creation: first created -> highest priority.
0
- # Here's a sample route:
0
- # map.connect 'products/:id', :controller => 'catalog', :action => 'view'
0
- # Keep in mind you can assign values other than :controller and :action
0
- map.home '', :controller => 'welcome'
0
- map.signin 'login', :controller => 'account', :action => 'login'
0
- map.signout 'logout', :controller => 'account', :action => 'logout'
0
- map.connect 'wiki/:id/:page/:action', :controller => 'wiki', :page => nil
0
- map.connect 'roles/workflow/:id/:role_id/:tracker_id', :controller => 'roles', :action => 'workflow'
0
- map.connect 'help/:ctrl/:page', :controller => 'help'
0
- #map.connect ':controller/:action/:id/:sort_key/:sort_order'
0
- map.connect 'issues/:issue_id/relations/:action/:id', :controller => 'issue_relations'
0
- map.connect 'projects/:project_id/issues/:action', :controller => 'issues'
0
- map.connect 'projects/:project_id/news/:action', :controller => 'news'
0
- map.connect 'projects/:project_id/documents/:action', :controller => 'documents'
0
- map.connect 'projects/:project_id/boards/:action/:id', :controller => 'boards'
0
- map.connect 'projects/:project_id/timelog/:action/:id', :controller => 'timelog', :project_id => /.+/
0
- map.connect 'boards/:board_id/topics/:action/:id', :controller => 'messages'
0
- map.with_options :controller => 'repositories' do |omap|
0
- omap.repositories_show 'repositories/browse/:id/*path', :action => 'browse'
0
- omap.repositories_changes 'repositories/changes/:id/*path', :action => 'changes'
0
- omap.repositories_diff 'repositories/diff/:id/*path', :action => 'diff'
0
- omap.repositories_entry 'repositories/entry/:id/*path', :action => 'entry'
0
- omap.repositories_entry 'repositories/annotate/:id/*path', :action => 'annotate'
0
- omap.repositories_revision 'repositories/revision/:id/:rev', :action => 'revision'
0
- map.connect 'attachments/:id', :controller => 'attachments', :action => 'show', :id => /\d+/
0
- map.connect 'attachments/:id/:filename', :controller => 'attachments', :action => 'show', :id => /\d+/, :filename => /.*/
0
- map.connect 'attachments/download/:id/:filename', :controller => 'attachments', :action => 'download', :id => /\d+/, :filename => /.*/
0
- # Allow downloading Web Service WSDL as a file with an extension
0
- # instead of a file named 'wsdl'
0
- map.connect ':controller/service.wsdl', :action => 'wsdl'
0
- # Install the default route as the lowest priority.
0
- map.connect ':controller/:action/:id'
0
+ActionController::Routing::Routes.draw do |map|
0
+ # Add your own custom routes here.
0
+ # The priority is based upon order of creation: first created -> highest priority.
0
+ # Here's a sample route:
0
+ # map.connect 'products/:id', :controller => 'catalog', :action => 'view'
0
+ # Keep in mind you can assign values other than :controller and :action
0
+ map.home '', :controller => 'welcome'
0
+ map.signin 'login', :controller => 'account', :action => 'login'
0
+ map.signout 'logout', :controller => 'account', :action => 'logout'
0
+ map.show_my_account 'my/account/show', :controller => 'my', :action => 'show_account'
0
+ map.connect 'wiki/:id/:page/:action', :controller => 'wiki', :page => nil
0
+ map.connect 'roles/workflow/:id/:role_id/:tracker_id', :controller => 'roles', :action => 'workflow'
0
+ map.connect 'help/:ctrl/:page', :controller => 'help'
0
+ #map.connect ':controller/:action/:id/:sort_key/:sort_order'
0
+ map.connect 'issues/:issue_id/relations/:action/:id', :controller => 'issue_relations'
0
+ map.connect 'projects/:project_id/issues/:action', :controller => 'issues'
0
+ map.connect 'projects/:project_id/news/:action', :controller => 'news'
0
+ map.connect 'projects/:project_id/documents/:action', :controller => 'documents'
0
+ map.connect 'projects/:project_id/boards/:action/:id', :controller => 'boards'
0
+ map.connect 'projects/:project_id/timelog/:action/:id', :controller => 'timelog', :project_id => /.+/
0
+ map.connect 'boards/:board_id/topics/:action/:id', :controller => 'messages'
0
+ map.users_timelog 'users/:user_id/timelog/:action', :controller => 'timelog'
0
+ map.with_options :controller => 'repositories' do |omap|
0
+ omap.repositories_show 'repositories/browse/:id/*path', :action => 'browse'
0
+ omap.repositories_changes 'repositories/changes/:id/*path', :action => 'changes'
0
+ omap.repositories_diff 'repositories/diff/:id/*path', :action => 'diff'
0
+ omap.repositories_entry 'repositories/entry/:id/*path', :action => 'entry'
0
+ omap.repositories_entry 'repositories/annotate/:id/*path', :action => 'annotate'
0
+ omap.repositories_revision 'repositories/revision/:id/:rev', :action => 'revision'
0
+ map.connect 'attachments/:id', :controller => 'attachments', :action => 'show', :id => /\d+/
0
+ map.connect 'attachments/:id/:filename', :controller => 'attachments', :action => 'show', :id => /\d+/, :filename => /.*/
0
+ map.connect 'attachments/download/:id/:filename', :controller => 'attachments', :action => 'download', :id => /\d+/, :filename => /.*/
0
+ # Allow downloading Web Service WSDL as a file with an extension
0
+ # instead of a file named 'wsdl'
0
+ map.connect ':controller/service.wsdl', :action => 'wsdl'
0
+ # Install the default route as the lowest priority.
0
+ map.connect ':controller/:action/:id'