mirror of
https://github.com/redmine/redmine.git
synced 2024-08-27 17:54:48 +02:00
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:
parent
1a8338dbaf
commit
49ceb577ec
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user