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:
parent
ff3230bd9a
commit
96de4a0822
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue