summaryrefslogtreecommitdiffstats
path: root/config/routes.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2011-12-01 18:02:21 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2011-12-01 18:02:21 +0000
commit526736dedced5870beab53c1e7845d27471b5563 (patch)
treeb36cdfc5d448c39cd167cddfaa76ef49e757d702 /config/routes.rb
parent2507fd1cd4448c4b0f03973e5961262472172ef7 (diff)
downloadredmine-526736dedced5870beab53c1e7845d27471b5563.tar.gz
redmine-526736dedced5870beab53c1e7845d27471b5563.zip
Removed obsolete routes.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8017 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 3ce5efdbe..fa443df20 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -92,10 +92,6 @@ ActionController::Routing::Routes.draw do |map|
reports.connect 'projects/:id/issues/report/:detail', :action => 'issue_report_details'
end
- # Following two routes conflict with the resources because #index allows POST
- map.connect '/issues', :controller => 'issues', :action => 'index', :conditions => { :method => :post }
- map.connect '/issues/create', :controller => 'issues', :action => 'index', :conditions => { :method => :post }
-
map.resources :issues, :member => { :edit => :post }, :collection => {} do |issues|
issues.resources :time_entries, :controller => 'timelog'
issues.resources :relations, :shallow => true, :controller => 'issue_relations', :only => [:index, :show, :create, :destroy]