route: code layout clean up versions resources

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8438 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2011-12-30 10:10:02 +00:00
parent 1a8338dbaf
commit 49ceb577ec
1 changed files with 3 additions and 1 deletions

View File

@ -180,7 +180,9 @@ ActionController::Routing::Routes.draw do |map|
:action => 'new', :conditions => {:method => :post}
project.resources :files, :only => [:index, :new, :create]
project.resources :versions, :shallow => true, :collection => {:close_completed => :put}, :member => {:status_by => :post}
project.resources :versions, :shallow => true,
:collection => {:close_completed => :put},
:member => {:status_by => :post}
project.resources :news, :shallow => true
project.resources :time_entries, :controller => 'timelog', :path_prefix => 'projects/:project_id', :collection => {:report => :get}
project.resources :queries, :only => [:new, :create]