Move some project routes under /-/ scope
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
parent
f14565948f
commit
eebd74d633
2 changed files with 6 additions and 1 deletions
5
changelogs/unreleased/dz-scope-project-routes.yml
Normal file
5
changelogs/unreleased/dz-scope-project-routes.yml
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
title: Move some project routes under /-/ scope
|
||||
merge_request: 28435
|
||||
author:
|
||||
type: changed
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue