summaryrefslogtreecommitdiff
path: root/app/controllers/dashboard/groups_controller.rb
blob: f82cde8e10a460fb8109c01205a943bb0dc77e73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# frozen_string_literal: true

class Dashboard::GroupsController < Dashboard::ApplicationController
  include GroupTree

  skip_cross_project_access_check :index

  def index
    groups = GroupsFinder.new(current_user, all_available: false).execute
    render_group_tree(groups)
  end
end