Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dashboard_controller.rb « admin « controllers « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 05e749c00c03cbb666bcfad731ea906698a35753 (plain)
1
2
3
4
5
6
7
class Admin::DashboardController < Admin::ApplicationController
  def index
    @projects = Project.without_deleted.with_route.limit(10)
    @users = User.limit(10)
    @groups = Group.with_route.limit(10)
  end
end