From 5fc7d097fe42c123782446215f6d333bfde2b6ad Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 15 Mar 2009 09:35:02 +0000 Subject: [PATCH] Fixing routes broken by r2581 (#2967, #2970). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2590 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- config/routes.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/routes.rb b/config/routes.rb index b5d4d51e..2a480061 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+/