Commit 1d0dfd50 authored by Marin Jankovski's avatar Marin Jankovski

Do not check for format on blob diff path.

parent 22368fb8
...@@ -190,7 +190,7 @@ Gitlab::Application.routes.draw do ...@@ -190,7 +190,7 @@ Gitlab::Application.routes.draw do
end end
scope module: :projects do 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 get :diff, on: :member
end end
resources :raw, only: [:show], constraints: {id: /.+/} resources :raw, only: [:show], constraints: {id: /.+/}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment