Commits

Toshi MARUYAMA  committed 8faf0ca

route: code layout clean up issues bulk deletion route

  • Participants
  • Parent commits e65c924

Comments (0)

Files changed (1)

File config/routes.rb

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