Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dzaporozhets@gitlab.com>2014-12-11 17:07:12 +0300
committerDmitriy Zaporozhets <dzaporozhets@gitlab.com>2014-12-11 17:07:12 +0300
commit65b858a7768b97f536891b9b9841376ea4638d92 (patch)
tree0e2950e9396c3458e63ba073eddc06c47180f2b7 /config
parentfeb7c2bcce9c948377e135c33f9760cb79c3822c (diff)
parent1d0dfd50cc7a795b948bc19d701518681b3c9439 (diff)
Merge branch 'show_files_with_diff_name' into 'master'
Show files named diff Fixes #1749 See merge request !1318
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 7480f7cdc85..533e044ca4c 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -191,7 +191,7 @@ Gitlab::Application.routes.draw do
end
scope module: :projects do
- resources :blob, only: [:show, :destroy], constraints: { id: /.+/ } do
+ resources :blob, only: [:show, :destroy], constraints: { id: /.+/, format: false } do
get :diff, on: :member
end
resources :raw, only: [:show], constraints: {id: /.+/}