Removed useless routes.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8170 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2011-12-10 14:28:32 +00:00
parent be687f6c0b
commit ae876eb27b
1 changed files with 0 additions and 5 deletions

View File

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