gitlab-org--gitlab-foss/app/controllers/admin/dashboard_controller.rb

8 lines
178 B
Ruby

class Admin::DashboardController < Admin::ApplicationController
def index
@projects = Project.limit(10)
@users = User.limit(10)
@groups = Group.limit(10)
end
end