gitlabhq/app/controllers/admin/dashboard_controller.rb
Dmitriy Zaporozhets c7bb3a1f72 sidekiq
2013-01-09 08:14:05 +03:00

10 lines
248 B
Ruby

class Admin::DashboardController < AdminController
def index
@projects = Project.order("created_at DESC").limit(10)
@users = User.order("created_at DESC").limit(10)
rescue Redis::InheritedError
@resque_accessible = false
end
end