2013-01-20 11:20:50 +00:00
|
|
|
class Admin::DashboardController < Admin::ApplicationController
|
2012-04-20 16:41:49 +00:00
|
|
|
def index
|
|
|
|
@projects = Project.order("created_at DESC").limit(10)
|
|
|
|
@users = User.order("created_at DESC").limit(10)
|
2013-11-20 11:41:41 +00:00
|
|
|
@groups = Group.order("created_at DESC").limit(10)
|
2012-04-20 16:41:49 +00:00
|
|
|
end
|
|
|
|
end
|