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:
authorMarin Jankovski <maxlazio@gmail.com>2014-12-10 17:54:01 +0300
committerMarin Jankovski <maxlazio@gmail.com>2014-12-10 17:54:01 +0300
commit1d0dfd50cc7a795b948bc19d701518681b3c9439 (patch)
tree291c2fabac8f5c541ffa2077979066bf13c7eba8 /config
parent22368fb8e8d684fd540120c33233cf0c42825f3e (diff)
Do not check for format on blob diff path.
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 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: /.+/}