BigW Consortium Gitlab

dashboard_controller.rb 261 Bytes
Newer Older
1
class Admin::DashboardController < Admin::ApplicationController
randx committed
2 3 4
  def index
    @projects = Project.order("created_at DESC").limit(10)
    @users = User.order("created_at DESC").limit(10)
5 6 7

  rescue Redis::InheritedError
    @resque_accessible = false
randx committed
8 9
  end
end