From: Jean-Philippe Lang Date: Mon, 27 Feb 2012 18:35:10 +0000 (+0000) Subject: Fixed routing failure with jruby 1.6. X-Git-Tag: 1.4.0~293 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=81554eae5af19154f75f6d0ccf33c3619b8ae50e;p=redmine.git Fixed routing failure with jruby 1.6. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9021 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- 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'