Allow projects with dashboard as path
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
parent
c1dbae9003
commit
8b92e9c08b
|
@ -14,7 +14,8 @@ class ProjectPathValidator < ActiveModel::EachValidator
|
|||
# without tree as reserved name routing can match 'group/project' as group name,
|
||||
# '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
|
||||
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 New Issue