summaryrefslogtreecommitdiffstats
path: root/config/routes.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2019-03-15 08:51:48 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2019-03-15 08:51:48 +0000
commit8daca338ed37bd1c26c6ad14d07208e1dc8c50d3 (patch)
tree4ec9caf3b518b592f879ded3a4683d7b83e9bec1 /config/routes.rb
parentb916bc809200dfc55b4b2de5b75e98cce3eb5876 (diff)
downloadredmine-8daca338ed37bd1c26c6ad14d07208e1dc8c50d3.tar.gz
redmine-8daca338ed37bd1c26c6ad14d07208e1dc8c50d3.zip
Unified diff link broken on specific file/revision diff view (#30850).
git-svn-id: http://svn.redmine.org/redmine/trunk@17962 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 6de9f47b5..c3926de61 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -252,7 +252,7 @@ Rails.application.routes.draw do
get "projects/:id/repository/:repository_id/revisions/:rev/#{action}(/*path)",
:controller => 'repositories',
:action => action,
- :format => 'html',
+ :format => false,
:constraints => {:rev => /[a-z0-9\.\-_]+/, :path => /.*/}
end
@@ -260,7 +260,7 @@ Rails.application.routes.draw do
get "projects/:id/repository/:repository_id/#{action}(/*path)",
:controller => 'repositories',
:action => action,
- :format => 'html',
+ :format => false,
:constraints => {:path => /.*/}
end