From 96de4a0822043061c868ca14218f44ea195d025d Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Fri, 30 Dec 2011 05:15:18 +0000 Subject: [PATCH] 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 --- config/routes.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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