route: code layout clean up new issues route

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8419 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2011-12-29 08:36:45 +00:00
parent 037ccaf46d
commit 77c08c8d5d
1 changed files with 2 additions and 1 deletions

View File

@ -164,7 +164,8 @@ ActionController::Routing::Routes.draw do |map|
issues.resources :time_entries, :controller => 'timelog', :collection => {:report => :get}
end
# issue form update
project.issue_form 'issues/new', :controller => 'issues', :action => 'new', :conditions => {:method => :post}
project.issue_form 'issues/new', :controller => 'issues',
: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}