diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-12-10 14:28:32 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-12-10 14:28:32 +0000 |
commit | ae876eb27b034f51c3217e346d64c98d42b29cc5 (patch) | |
tree | 4409f4be0142c99e6503b084a36c1220d689db97 /config | |
parent | be687f6c0b72b42a3c28efaf450a5281b7212d55 (diff) | |
download | redmine-ae876eb27b034f51c3217e346d64c98d42b29cc5.tar.gz redmine-ae876eb27b034f51c3217e346d64c98d42b29cc5.zip |
Removed useless routes.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8170 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 5 |
1 files changed, 0 insertions, 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} |