diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-12-30 05:15:18 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-12-30 05:15:18 +0000 |
commit | 96de4a0822043061c868ca14218f44ea195d025d (patch) | |
tree | 738e22dd88554ba9d5fbd5328f515c8f78a5889b /config | |
parent | ff3230bd9a551313a9f8402617458706034af2d9 (diff) | |
download | redmine-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
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 3 |
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 |