From 77c08c8d5ddf7c1f859128d2ec8201ea88926a7c Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Thu, 29 Dec 2011 08:36:45 +0000 Subject: [PATCH] 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 --- config/routes.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/routes.rb b/config/routes.rb index df40661b4..e473d2e32 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -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}