summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-12-29 11:56:36 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-12-29 11:56:36 +0000
commite754883df2f8a9cbc5e31ec0efba4bf3161f8f86 (patch)
treedaf794ad8e0b540621428200e0f748ada194336b /config
parent4ac7e94ad7ccb90785537d518a0cb0a54b8575a0 (diff)
downloadredmine-e754883df2f8a9cbc5e31ec0efba4bf3161f8f86.tar.gz
redmine-e754883df2f8a9cbc5e31ec0efba4bf3161f8f86.zip
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
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/config/routes.rb b/config/routes.rb
index e473d2e32..7a1dd0a8d 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -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 '/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',
: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',
:action => 'edit', :conditions => {:method => :post}