Allow projects with dashboard as path

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
Dmitriy Zaporozhets 2016-12-21 13:00:10 +02:00
parent c1dbae9003
commit 8b92e9c08b
No known key found for this signature in database
GPG Key ID: 627C5F589F467F17
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -0,0 +1,4 @@
---
title: Allow projects with 'dashboard' as path
merge_request:
author: