summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2009-03-13 17:45:47 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2009-03-13 17:45:47 +0000
commit0100011e5cdc4532b925c7b09e0b4a61532cd809 (patch)
tree9ebeb4e82908e773cf21a58e86e9cec3ac78665a /config
parent74d8739936c85b39a483ab50ec3b5c9fec36c8a0 (diff)
downloadredmine-0100011e5cdc4532b925c7b09e0b4a61532cd809.tar.gz
redmine-0100011e5cdc4532b925c7b09e0b4a61532cd809.zip
Fixing repository routes (#2967).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2581 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb20
1 files changed, 10 insertions, 10 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 307a38bd9..b5d4d51e3 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -209,16 +209,16 @@ ActionController::Routing::Routes.draw do |map|
map.with_options :controller => 'repositories' do |repositories|
repositories.with_options :conditions => {:method => :get} do |repository_views|
- repositories.connect 'projects/:id/repository', :action => 'show'
- repositories.connect 'projects/:id/repository/edit', :action => 'edit'
- repositories.connect 'projects/:id/repository/statistics', :action => 'stats'
- repositories.connect 'projects/:id/repository/revisions', :action => 'revisions'
- repositories.connect 'projects/:id/repository/revisions.:format', :action => 'revisions'
- repositories.connect 'projects/:id/repository/revisions/:rev', :action => 'revision'
- repositories.connect 'projects/:id/repository/revisions/:rev/diff', :action => 'diff'
- repositories.connect 'projects/:id/repository/revisions/:rev/diff.:format', :action => 'diff'
- repositories.connect 'projects/:id/repository/revisions/:rev/:action/*path'
- repositories.connect 'projects/:id/repository/:action/*path'
+ repository_views.connect 'projects/:id/repository', :action => 'show'
+ repository_views.connect 'projects/:id/repository/edit', :action => 'edit'
+ repository_views.connect 'projects/:id/repository/statistics', :action => 'stats'
+ repository_views.connect 'projects/:id/repository/revisions', :action => 'revisions'
+ repository_views.connect 'projects/:id/repository/revisions.:format', :action => 'revisions'
+ repository_views.connect 'projects/:id/repository/revisions/:rev', :action => 'revision'
+ repository_views.connect 'projects/:id/repository/revisions/:rev/diff', :action => 'diff'
+ repository_views.connect 'projects/:id/repository/revisions/:rev/diff.:format', :action => 'diff'
+ repository_views.connect 'projects/:id/repository/revisions/:rev/:action/*path'
+ repository_views.connect 'projects/:id/repository/:action/*path'
end
repositories.connect 'projects/:id/repository/edit', :action => 'edit', :conditions => {:method => :post}