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: 5152f6fa83d139589cd309fe23f1919956f1f130 (plain)
1
2
3
4
5
6
7
8
class Admin::DashboardController < AdminController
  def index
    @workers = Resque.workers
    @pending_jobs = Resque.size(:post_receive)
    @projects = Project.order("created_at DESC").limit(10)
    @users = User.order("created_at DESC").limit(10)
  end
end