route: code layout clean up bulk edit time logs
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8423 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
4ac7e94ad7
commit
e754883df2
|
@ -22,11 +22,13 @@ ActionController::Routing::Routes.draw do |map|
|
||||||
map.connect 'roles/workflow/:id/:role_id/:tracker_id', :controller => 'roles', :action => 'workflow'
|
map.connect 'roles/workflow/:id/:role_id/:tracker_id', :controller => 'roles', :action => 'workflow'
|
||||||
|
|
||||||
map.connect '/time_entries/destroy',
|
map.connect '/time_entries/destroy',
|
||||||
:controller => 'timelog', :action => 'destroy', :conditions => { :method => :delete }
|
:controller => 'timelog', :action => 'destroy',
|
||||||
|
:conditions => { :method => :delete }
|
||||||
map.time_entries_context_menu '/time_entries/context_menu',
|
map.time_entries_context_menu '/time_entries/context_menu',
|
||||||
:controller => 'context_menus', :action => 'time_entries'
|
:controller => 'context_menus', :action => 'time_entries'
|
||||||
|
|
||||||
map.resources :time_entries, :controller => 'timelog', :collection => {:report => :get, :bulk_edit => :get, :bulk_update => :post}
|
map.resources :time_entries, :controller => 'timelog',
|
||||||
|
:collection => {:report => :get, :bulk_edit => :get, :bulk_update => :post}
|
||||||
|
|
||||||
map.connect 'projects/:id/wiki', :controller => 'wikis',
|
map.connect 'projects/:id/wiki', :controller => 'wikis',
|
||||||
:action => 'edit', :conditions => {:method => :post}
|
:action => 'edit', :conditions => {:method => :post}
|
||||||
|
|
Loading…
Reference in New Issue