From: Jean-Philippe Lang Date: Sun, 15 Mar 2009 09:35:02 +0000 (+0000) Subject: Fixing routes broken by r2581 (#2967, #2970). X-Git-Tag: 0.9.0~570 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=5fc7d097fe42c123782446215f6d333bfde2b6ad;p=redmine.git Fixing routes broken by r2581 (#2967, #2970). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2590 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/config/routes.rb b/config/routes.rb index b5d4d51e3..2a4800612 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -221,7 +221,7 @@ ActionController::Routing::Routes.draw do |map| repository_views.connect 'projects/:id/repository/:action/*path' end - repositories.connect 'projects/:id/repository/edit', :action => 'edit', :conditions => {:method => :post} + repositories.connect 'projects/:id/repository/:action', :conditions => {:method => :post} end map.connect 'attachments/:id', :controller => 'attachments', :action => 'show', :id => /\d+/