| 24 | 24 |   # TODO: wasteful since this is also nested under issues, projects, and projects/issues
 | 
  | 25 | 25 |   map.resources :time_entries, :controller => 'timelog'
 | 
  | 26 | 26 |  | 
  | 27 |  |   map.connect 'projects/:id/wiki', :controller => 'wikis', :action => 'edit', :conditions => {:method => :post}
 | 
  | 28 |  |   map.connect 'projects/:id/wiki/destroy', :controller => 'wikis', :action => 'destroy', :conditions => {:method => :get}
 | 
  | 29 |  |   map.connect 'projects/:id/wiki/destroy', :controller => 'wikis', :action => 'destroy', :conditions => {:method => :post}
 | 
  |  | 27 |   map.connect 'projects/:project_id/wiki', :controller => 'wikis', :action => 'edit', :conditions => {:method => :post}
 | 
  |  | 28 |   map.connect 'projects/:project_id/wiki/destroy', :controller => 'wikis', :action => 'destroy', :conditions => {:method => :get}
 | 
  |  | 29 |   map.connect 'projects/:project_id/wiki/destroy', :controller => 'wikis', :action => 'destroy', :conditions => {:method => :post}
 | 
  | 30 | 30 |   map.with_options :controller => 'wiki' do |wiki_routes|
 | 
  | 31 | 31 |     wiki_routes.with_options :conditions => {:method => :get} do |wiki_views|
 | 
  | 32 | 32 |       wiki_views.connect 'projects/:project_id/wiki/export', :action => 'export'
 | 
  | ... | ... |  | 
  | 222 | 222 |   map.connect 'projects/:project_id/documents/:action', :controller => 'documents'
 | 
  | 223 | 223 |   map.connect 'projects/:project_id/boards/:action/:id', :controller => 'boards'
 | 
  | 224 | 224 |   map.connect 'boards/:board_id/topics/:action/:id', :controller => 'messages'
 | 
  | 225 |  |   map.connect 'wiki/:id/:page/:action', :page => nil, :controller => 'wiki'
 | 
  |  | 225 |   map.connect 'wiki/:project_id/:page/:action', :page => nil, :controller => 'wiki'
 | 
  | 226 | 226 |   map.connect 'issues/:issue_id/relations/:action/:id', :controller => 'issue_relations'
 | 
  | 227 | 227 |   map.connect 'projects/:project_id/news/:action', :controller => 'news'
 | 
  | 228 | 228 |   map.connect 'projects/:project_id/timelog/:action/:id', :controller => 'timelog', :project_id => /.+/
 |