Class: Dashboard::GroupsController

Inherits:
ApplicationController
  • Object
show all
Includes:
GroupTree
Defined in:
app/controllers/dashboard/groups_controller.rb

Instance Method Summary collapse

Methods included from GroupTree

#filtered_groups_with_ancestors, #render_group_tree

Instance Method Details

#indexObject


8
9
10
11
# File 'app/controllers/dashboard/groups_controller.rb', line 8

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