summaryrefslogtreecommitdiff
path: root/app/controllers/dashboard/groups_controller.rb
blob: 025769f512a80ed798359910721f7bcd9a465366 (plain)
1
2
3
4
5
6
7
8
class Dashboard::GroupsController < Dashboard::ApplicationController
  include GroupTree

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