debian-mirror-gitlab/app/controllers/dashboard/groups_controller.rb
2022-07-17 14:43:12 +02:00

16 lines
346 B
Ruby

# frozen_string_literal: true
class Dashboard::GroupsController < Dashboard::ApplicationController
include GroupTree
skip_cross_project_access_check :index
feature_category :subgroups
urgency :low, [:index]
def index
groups = GroupsFinder.new(current_user, all_available: false).execute
render_group_tree(groups)
end
end