Move some project routes under /-/ scope

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
Dmitriy Zaporozhets 2019-05-20 12:48:41 +03:00
parent f14565948f
commit eebd74d633
No known key found for this signature in database
GPG key ID: 627C5F589F467F17
2 changed files with 6 additions and 1 deletions

View file

@ -0,0 +1,5 @@
---
title: Move some project routes under /-/ scope
merge_request: 28435
author:
type: changed

View file

@ -39,7 +39,7 @@ scope format: false do
end
end
scope constraints: { id: Gitlab::PathRegex.git_reference_regex } do
scope path: '-', constraints: { id: Gitlab::PathRegex.git_reference_regex } do
resources :network, only: [:show]
resources :graphs, only: [:show] do