Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-07-21 21:09:45 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-07-21 21:09:45 +0300
commit36b0a5b87569e1b0e9f193630e50d1a376a71a4a (patch)
tree149dc553a092cd184bd196877d98964b4f8b3825 /lib/gitlab/gl_repository
parenta6578252111f8ce77de356eca6fd55c470893d54 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/gitlab/gl_repository')
-rw-r--r--lib/gitlab/gl_repository/repo_type.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/gitlab/gl_repository/repo_type.rb b/lib/gitlab/gl_repository/repo_type.rb
index 2b482ee3d2d..2c0038b61e2 100644
--- a/lib/gitlab/gl_repository/repo_type.rb
+++ b/lib/gitlab/gl_repository/repo_type.rb
@@ -37,19 +37,19 @@ module Gitlab
end
def wiki?
- self == WIKI
+ name == :wiki
end
def project?
- self == PROJECT
+ name == :project
end
def snippet?
- self == SNIPPET
+ name == :snippet
end
def design?
- self == DESIGN
+ name == :design
end
def path_suffix