From ff3230bd9a551313a9f8402617458706034af2d9 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Fri, 30 Dec 2011 05:14:51 +0000 Subject: [PATCH] route: code layout clean up issues bulk deletion route git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8434 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 99a826bef..21d87d5af 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -118,7 +118,8 @@ ActionController::Routing::Routes.draw do |map| :only => [:index, :show, :create, :destroy] end # Bulk deletion - map.connect '/issues', :controller => 'issues', :action => 'destroy', :conditions => {:method => :delete} + map.connect '/issues', :controller => 'issues', :action => 'destroy', + :conditions => {:method => :delete} map.connect 'projects/:id/members/new', :controller => 'members', :action => 'new', :conditions => { :method => :post }