summaryrefslogtreecommitdiff
path: root/app/controllers/explore
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-11-07 21:09:59 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2022-11-07 21:09:59 +0000
commit364e69bafd235e5689fba44bb5eef37305cb6c6d (patch)
tree563bb6addd54e5ba4c93eaf1dee54eaab60f7a68 /app/controllers/explore
parent59f37a99433dbdc3093e06f0f57beff171bae5d4 (diff)
downloadgitlab-ce-364e69bafd235e5689fba44bb5eef37305cb6c6d.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/controllers/explore')
-rw-r--r--app/controllers/explore/groups_controller.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/controllers/explore/groups_controller.rb b/app/controllers/explore/groups_controller.rb
index 97791b43d41..ac355b861b3 100644
--- a/app/controllers/explore/groups_controller.rb
+++ b/app/controllers/explore/groups_controller.rb
@@ -7,6 +7,8 @@ class Explore::GroupsController < Explore::ApplicationController
urgency :low
def index
- render_group_tree GroupsFinder.new(current_user).execute
+ user = Feature.enabled?(:generic_explore_groups, current_user, type: :experiment) ? nil : current_user
+
+ render_group_tree GroupsFinder.new(user).execute
end
end