summaryrefslogtreecommitdiffstats
path: root/config/routes.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 21718e096..772447cae 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -264,7 +264,9 @@ ActionController::Routing::Routes.draw do |map|
repository_views.connect 'projects/:id/repository/:repository_id/raw/*path',
:action => 'entry', :format => 'raw'
repository_views.connect 'projects/:id/repository/:repository_id/:action/*path',
- :requirements => { :action => /(browse|show|entry|changes|annotate|diff)/ }
+ :requirements => { :action => /(browse|entry|changes|annotate|diff)/ }
+ repository_views.connect 'projects/:id/repository/:repository_id/show/*path',
+ :requirements => { :path => /.+/ }
repository_views.connect 'projects/:id/repository/revisions',
:action => 'revisions'