diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2019-05-20 12:48:41 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2019-05-20 12:56:39 +0300 |
commit | eebd74d633c96af8a5ba3fbef03777bfdd240e2d (patch) | |
tree | e5122a574f36d688692ff6140dc9bdbb5f301f54 /config | |
parent | f14565948f8d7759f6c0e7d6cc77445b2211e8f6 (diff) | |
download | gitlab-ce-eebd74d633c96af8a5ba3fbef03777bfdd240e2d.tar.gz |
Move some project routes under /-/ scope
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'config')
-rw-r--r-- | config/routes/repository.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes/repository.rb b/config/routes/repository.rb index f5201b9ddbb..b96315bfe8b 100644 --- a/config/routes/repository.rb +++ b/config/routes/repository.rb @@ -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 |