summaryrefslogtreecommitdiff
path: root/app/validators
diff options
context:
space:
mode:
authorNick Thomas <nick@gitlab.com>2016-10-11 02:58:26 +0100
committerNick Thomas <nick@gitlab.com>2016-10-11 02:58:26 +0100
commitef696f592fd1eed038c789379837554237ff5974 (patch)
tree8106021e2f5ca5092b659834abd51442a9fe9c0a /app/validators
parenta5cd9c9a596c4160bbdc7645f57266655488386c (diff)
downloadgitlab-ce-ef696f592fd1eed038c789379837554237ff5974.tar.gz
Add `robots.txt` to the list of reserved namespaces
Diffstat (limited to 'app/validators')
-rw-r--r--app/validators/namespace_validator.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/validators/namespace_validator.rb b/app/validators/namespace_validator.rb
index 4dc3b2ab9a0..2821ecf0a88 100644
--- a/app/validators/namespace_validator.rb
+++ b/app/validators/namespace_validator.rb
@@ -24,6 +24,7 @@ class NamespaceValidator < ActiveModel::EachValidator
projects
public
repository
+ robots.txt
s
search
services