class Admin::DashboardController

Public Instance Methods

index() click to toggle source
# File app/controllers/admin/dashboard_controller.rb, line 2
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