2013-01-20 06:20:50 -05:00
|
|
|
class Admin::DashboardController < Admin::ApplicationController
|
2012-04-20 12:41:49 -04:00
|
|
|
def index
|
|
|
|
@projects = Project.order("created_at DESC").limit(10)
|
|
|
|
@users = User.order("created_at DESC").limit(10)
|
2012-11-21 05:45:15 -05:00
|
|
|
|
|
|
|
rescue Redis::InheritedError
|
|
|
|
@resque_accessible = false
|
2012-04-20 12:41:49 -04:00
|
|
|
end
|
|
|
|
end
|