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



12
13
14
15
# File 'app/controllers/dashboard/groups_controller.rb', line 12

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