debian-mirror-gitlab/app/controllers/explore/groups_controller.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
346 B
Ruby
Raw Normal View History

2018-12-05 23:21:45 +05:30
# frozen_string_literal: true
2015-09-11 14:41:01 +05:30
class Explore::GroupsController < Explore::ApplicationController
2018-03-17 18:26:18 +05:30
include GroupTree
2017-08-17 22:00:37 +05:30
2021-01-03 14:25:43 +05:30
feature_category :subgroups
2022-07-16 23:28:13 +05:30
urgency :low
2021-01-03 14:25:43 +05:30
2018-03-17 18:26:18 +05:30
def index
2023-01-13 00:05:48 +05:30
user = Feature.enabled?(:generic_explore_groups, current_user, type: :experiment) ? nil : current_user
render_group_tree GroupsFinder.new(user).execute
2014-09-02 18:07:02 +05:30
end
end