diff options
author | Marin Jankovski <maxlazio@gmail.com> | 2014-12-10 17:54:01 +0300 |
---|---|---|
committer | Marin Jankovski <maxlazio@gmail.com> | 2014-12-10 17:54:01 +0300 |
commit | 1d0dfd50cc7a795b948bc19d701518681b3c9439 (patch) | |
tree | 291c2fabac8f5c541ffa2077979066bf13c7eba8 /config | |
parent | 22368fb8e8d684fd540120c33233cf0c42825f3e (diff) |
Do not check for format on blob diff path.
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 f2984069b71..7483ea42e12 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -190,7 +190,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: /.+/} |