diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-04-27 18:09:41 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-04-27 18:09:41 +0000 |
commit | f569792df8a25caa1bed9c448c8c4c3f837f5164 (patch) | |
tree | 8c2ed7dae5ba132a97c0321a7649174e5832d637 /app/helpers/explore_helper.rb | |
parent | c2908ec6a0d7b62996cdb8da0350705bdad691bf (diff) | |
download | gitlab-ce-f569792df8a25caa1bed9c448c8c4c3f837f5164.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/helpers/explore_helper.rb')
-rw-r--r-- | app/helpers/explore_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/explore_helper.rb b/app/helpers/explore_helper.rb index b66c7a69b71..026dbd60ac6 100644 --- a/app/helpers/explore_helper.rb +++ b/app/helpers/explore_helper.rb @@ -52,7 +52,7 @@ module ExploreHelper end def public_visibility_restricted? - Gitlab::CurrentSettings.restricted_visibility_levels&.include? Gitlab::VisibilityLevel::PUBLIC + Gitlab::VisibilityLevel.public_visibility_restricted? end private |