gitlab-org--gitlab-foss/app/controllers/dashboard/groups_controller.rb
2018-02-22 17:11:36 +01:00

10 lines
258 B
Ruby

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