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
1 changed files with 2 additions and 1 deletions

View File

@ -170,7 +170,8 @@ ActionController::Routing::Routes.draw do |map|
:archive => :post, :archive => :post,
:unarchive => :post :unarchive => :post
} do |project| } 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| project.resources :issues, :only => [:index, :new, :create] do |issues|
issues.resources :time_entries, :controller => 'timelog', :collection => {:report => :get} issues.resources :time_entries, :controller => 'timelog', :collection => {:report => :get}
end end