@@ -14,14 +14,10 ActionController::Routing::Routes.draw do |map| | |||||
14 | map.connect 'roles/workflow/:id/:role_id/:tracker_id', :controller => 'roles', :action => 'workflow' |
|
14 | map.connect 'roles/workflow/:id/:role_id/:tracker_id', :controller => 'roles', :action => 'workflow' | |
15 | map.connect 'help/:ctrl/:page', :controller => 'help' |
|
15 | map.connect 'help/:ctrl/:page', :controller => 'help' | |
16 |
|
16 | |||
17 | map.bulk_edit_time_entry 'time_entries/bulk_edit', |
|
|||
18 | :controller => 'timelog', :action => 'bulk_edit', :conditions => { :method => :get } |
|
|||
19 | map.bulk_update_time_entry 'time_entries/bulk_edit', |
|
|||
20 | :controller => 'timelog', :action => 'bulk_update', :conditions => { :method => :post } |
|
|||
21 | map.time_entries_context_menu '/time_entries/context_menu', |
|
17 | map.time_entries_context_menu '/time_entries/context_menu', | |
22 | :controller => 'context_menus', :action => 'time_entries' |
|
18 | :controller => 'context_menus', :action => 'time_entries' | |
23 |
|
19 | |||
24 | map.resources :time_entries, :controller => 'timelog', :collection => {:report => :get} |
|
20 | map.resources :time_entries, :controller => 'timelog', :collection => {:report => :get, :bulk_edit => :get, :bulk_update => :post} | |
25 |
|
21 | |||
26 | map.connect 'projects/:id/wiki', :controller => 'wikis', :action => 'edit', :conditions => {:method => :post} |
|
22 | map.connect 'projects/:id/wiki', :controller => 'wikis', :action => 'edit', :conditions => {:method => :post} | |
27 | map.connect 'projects/:id/wiki/destroy', :controller => 'wikis', :action => 'destroy', :conditions => {:method => :get} |
|
23 | map.connect 'projects/:id/wiki/destroy', :controller => 'wikis', :action => 'destroy', :conditions => {:method => :get} |
General Comments 0
You need to be logged in to leave comments.
Login now