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
This commit is contained in:
Toshi MARUYAMA 2011-12-30 05:14:51 +00:00
parent 9835f4b800
commit ff3230bd9a
1 changed files with 2 additions and 1 deletions

View File

@ -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 }