Commit 1d0dfd50 by Marin Jankovski

Do not check for format on blob diff path.

parent 22368fb8
......@@ -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: /.+/}
......
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