summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-12-30 05:15:18 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-12-30 05:15:18 +0000
commit96de4a0822043061c868ca14218f44ea195d025d (patch)
tree738e22dd88554ba9d5fbd5328f515c8f78a5889b
parentff3230bd9a551313a9f8402617458706034af2d9 (diff)
downloadredmine-96de4a0822043061c868ca14218f44ea195d025d.tar.gz
redmine-96de4a0822043061c868ca14218f44ea195d025d.zip
route: code layout clean up project_enumerations route
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8435 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--config/routes.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 21d87d5af..7d63e6f8f 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -170,7 +170,8 @@ ActionController::Routing::Routes.draw do |map|
:archive => :post,
:unarchive => :post
} do |project|
- project.resource :project_enumerations, :as => 'enumerations', :only => [:update, :destroy]
+ project.resource :project_enumerations, :as => 'enumerations',
+ :only => [:update, :destroy]
project.resources :issues, :only => [:index, :new, :create] do |issues|
issues.resources :time_entries, :controller => 'timelog', :collection => {:report => :get}
end