gitlabhq/app/controllers/admin/dashboard_controller.rb

10 lines
248 B
Ruby
Raw Normal View History

class Admin::DashboardController < AdminController
2012-04-20 18:41:49 +02:00
def index
@projects = Project.order("created_at DESC").limit(10)
@users = User.order("created_at DESC").limit(10)
rescue Redis::InheritedError
@resque_accessible = false
2012-04-20 18:41:49 +02:00
end
end