Allow projects with dashboard as path
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
parent
c1dbae9003
commit
8b92e9c08b
2 changed files with 6 additions and 1 deletions
|
@ -14,7 +14,8 @@ class ProjectPathValidator < ActiveModel::EachValidator
|
||||||
# without tree as reserved name routing can match 'group/project' as group name,
|
# without tree as reserved name routing can match 'group/project' as group name,
|
||||||
# 'tree' as project name and 'deploy_keys' as route.
|
# 'tree' as project name and 'deploy_keys' as route.
|
||||||
#
|
#
|
||||||
RESERVED = (NamespaceValidator::RESERVED +
|
RESERVED = (NamespaceValidator::RESERVED -
|
||||||
|
%w[dashboard] +
|
||||||
%w[tree commits wikis new edit create update logs_tree
|
%w[tree commits wikis new edit create update logs_tree
|
||||||
preview blob blame raw files create_dir find_file]).freeze
|
preview blob blame raw files create_dir find_file]).freeze
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
---
|
||||||
|
title: Allow projects with 'dashboard' as path
|
||||||
|
merge_request:
|
||||||
|
author:
|
Loading…
Reference in a new issue