Routes cleanup.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8028 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2011-12-02 19:35:54 +00:00
parent 69a2431dd0
commit 4fdceb8613
1 changed files with 1 additions and 5 deletions

View File

@ -14,14 +14,10 @@ ActionController::Routing::Routes.draw do |map|
map.connect 'roles/workflow/:id/:role_id/:tracker_id', :controller => 'roles', :action => 'workflow'
map.connect 'help/:ctrl/:page', :controller => 'help'
map.bulk_edit_time_entry 'time_entries/bulk_edit',
:controller => 'timelog', :action => 'bulk_edit', :conditions => { :method => :get }
map.bulk_update_time_entry 'time_entries/bulk_edit',
:controller => 'timelog', :action => 'bulk_update', :conditions => { :method => :post }
map.time_entries_context_menu '/time_entries/context_menu',
:controller => 'context_menus', :action => 'time_entries'
map.resources :time_entries, :controller => 'timelog', :collection => {:report => :get}
map.resources :time_entries, :controller => 'timelog', :collection => {:report => :get, :bulk_edit => :get, :bulk_update => :post}
map.connect 'projects/:id/wiki', :controller => 'wikis', :action => 'edit', :conditions => {:method => :post}
map.connect 'projects/:id/wiki/destroy', :controller => 'wikis', :action => 'destroy', :conditions => {:method => :get}