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
This commit is contained in:
Toshi MARUYAMA 2011-12-30 05:15:18 +00:00
parent ff3230bd9a
commit 96de4a0822

View File

@ -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