From ae876eb27b034f51c3217e346d64c98d42b29cc5 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 10 Dec 2011 14:28:32 +0000 Subject: [PATCH] Removed useless routes. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8170 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- config/routes.rb | 5 ----- 1 file changed, 5 deletions(-) diff --git a/config/routes.rb b/config/routes.rb index b43c79b7e..df69a496c 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -216,11 +216,6 @@ ActionController::Routing::Routes.draw do |map| map.resources :custom_fields, :except => :show map.resources :roles, :except => :show, :collection => {:permissions => [:get, :post]} - map.connect 'custom_fields', :controller => 'custom_fields', :action => 'index', :conditions => {:method => :get} - map.connect 'custom_fields/new', :controller => 'custom_fields', :action => 'new', :conditions => {:method => [:get, :post]} - map.connect 'custom_fields/edit/:id', :controller => 'custom_fields', :action => 'edit', :id => /\d+/, :conditions => {:method => [:get, :post]} - map.connect 'custom_fields/destroy/:id', :controller => 'custom_fields', :action => 'destroy', :id => /\d+/, :conditions => {:method => :post} - map.connect 'search', :controller => 'search', :action => 'index', :conditions => {:method => :get} map.connect 'mail_handler', :controller => 'mail_handler', :action => 'index', :conditions => {:method => :post}