debian-mirror-gitlab/app/controllers/dashboard/groups_controller.rb

13 lines
289 B
Ruby
Raw Normal View History

2018-12-05 23:21:45 +05:30
# frozen_string_literal: true
2015-09-11 14:41:01 +05:30
class Dashboard::GroupsController < Dashboard::ApplicationController
2018-03-17 18:26:18 +05:30
include GroupTree
2017-09-10 17:25:29 +05:30
2018-03-27 19:54:05 +05:30
skip_cross_project_access_check :index
2018-03-17 18:26:18 +05:30
def index
groups = GroupsFinder.new(current_user, all_available: false).execute
render_group_tree(groups)
2015-04-26 12:48:37 +05:30
end
end