diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-02-27 18:35:10 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-02-27 18:35:10 +0000 |
commit | 81554eae5af19154f75f6d0ccf33c3619b8ae50e (patch) | |
tree | 18c3ce2d1f7f21646e744984c73ee8059df010d3 /config/routes.rb | |
parent | fba7789bb1b0094d396648f4441319e04bc5e61c (diff) | |
download | redmine-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.rb | 4 |
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' |