diff options
author | Dmitriy Zaporozhets <dzaporozhets@gitlab.com> | 2014-12-11 14:07:12 +0000 |
---|---|---|
committer | Dmitriy Zaporozhets <dzaporozhets@gitlab.com> | 2014-12-11 14:07:12 +0000 |
commit | 65b858a7768b97f536891b9b9841376ea4638d92 (patch) | |
tree | 0e2950e9396c3458e63ba073eddc06c47180f2b7 /config | |
parent | feb7c2bcce9c948377e135c33f9760cb79c3822c (diff) | |
parent | 1d0dfd50cc7a795b948bc19d701518681b3c9439 (diff) | |
download | gitlab-ce-65b858a7768b97f536891b9b9841376ea4638d92.tar.gz |
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.rb | 2 |
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: /.+/} |