Fixed routing failure with jruby 1.6.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9021 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2012-02-27 18:35:10 +00:00
parent fba7789bb1
commit 81554eae5a
1 changed files with 3 additions and 1 deletions

View File

@ -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'