summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-07-04 19:17:43 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-07-04 19:17:43 +0000
commit1d1aef9d61beec2504b2efedce99c8a8b7869835 (patch)
tree593aaf117a4bc2f102040d6e47263bc1575dc7e9 /config
parentd00ba6d2bb7cd76edf2cd1e75584f9dfd336ea72 (diff)
downloadredmine-1d1aef9d61beec2504b2efedce99c8a8b7869835.tar.gz
redmine-1d1aef9d61beec2504b2efedce99c8a8b7869835.zip
Fixed: unified diff link broken on specific file/revision diff (#11325).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9909 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb
index e79d0226f..1ecaba8af 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -226,6 +226,7 @@ RedmineApp::Application.routes.draw do
get 'projects/:id/repository/:repository_id/revisions', :to => 'repositories#revisions'
get 'projects/:id/repository/:repository_id/revisions/:rev/:action(/*path(.:ext))',
:controller => 'repositories',
+ :format => false,
:constraints => {
:action => /(browse|show|entry|raw|annotate|diff)/,
:rev => /[a-z0-9\.\-_]+/
@@ -244,6 +245,7 @@ RedmineApp::Application.routes.draw do
delete 'projects/:id/repository/revisions/:rev/issues/:issue_id', :to => 'repositories#remove_related_issue'
get 'projects/:id/repository/revisions/:rev/:action(/*path(.:ext))',
:controller => 'repositories',
+ :format => false,
:constraints => {
:action => /(browse|show|entry|raw|annotate|diff)/,
:rev => /[a-z0-9\.\-_]+/