]> source.dussan.org Git - redmine.git/commitdiff
Fixing routes broken by r2581 (#2967, #2970).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 15 Mar 2009 09:35:02 +0000 (09:35 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 15 Mar 2009 09:35:02 +0000 (09:35 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2590 e93f8b46-1217-0410-a6f0-8f06a7374b81

config/routes.rb

index b5d4d51e39f36eb466cdd5e8820761fdcad56854..2a480061280991f86297c88c52bc51997b41366c 100644 (file)
@@ -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+/