summaryrefslogtreecommitdiffstats
path: root/config/routes.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-02-27 18:35:10 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-02-27 18:35:10 +0000
commit81554eae5af19154f75f6d0ccf33c3619b8ae50e (patch)
tree18c3ce2d1f7f21646e744984c73ee8059df010d3 /config/routes.rb
parentfba7789bb1b0094d396648f4441319e04bc5e61c (diff)
downloadredmine-81554eae5af19154f75f6d0ccf33c3619b8ae50e.tar.gz
redmine-81554eae5af19154f75f6d0ccf33c3619b8ae50e.zip
Fixed routing failure with jruby 1.6.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9021 e93f8b46-1217-0410-a6f0-8f06a7374b81
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'