groups_controller.rb 216 Bytes EditWeb IDE 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