class Dashboard::GroupsController < Dashboard::ApplicationController include GroupTree def index groups = GroupsFinder.new(current_user, all_available: false).execute render_group_tree(groups) end end