From a8982ec2817221ddb1d306e38279222e9d0a0312 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 10 Dec 2011 14:33:22 +0000 Subject: [PATCH] Removed useless routes. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8172 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- config/routes.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/config/routes.rb b/config/routes.rb index 62b3f4b89..bbe90a780 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -204,8 +204,6 @@ ActionController::Routing::Routes.draw do |map| map.resources :groups, :member => {:autocomplete_for_user => :get} map.group_users 'groups/:id/users', :controller => 'groups', :action => 'add_users', :id => /\d+/, :conditions => {:method => :post} map.group_user 'groups/:id/users/:user_id', :controller => 'groups', :action => 'remove_user', :id => /\d+/, :conditions => {:method => :delete} - map.connect 'groups/add_users/:id', :controller => 'groups', :action => 'add_users', :id => /\d+/, :conditions => {:method => :post} - map.connect 'groups/remove_user/:id', :controller => 'groups', :action => 'remove_user', :id => /\d+/, :conditions => {:method => :post} map.connect 'groups/destroy_membership/:id', :controller => 'groups', :action => 'destroy_membership', :id => /\d+/, :conditions => {:method => :post} map.connect 'groups/edit_membership/:id', :controller => 'groups', :action => 'edit_membership', :id => /\d+/, :conditions => {:method => :post}