8 lines
253 B
Ruby
8 lines
253 B
Ruby
class Admin::DashboardController < Admin::ApplicationController
|
|
def index
|
|
@projects = Project.order("created_at DESC").limit(10)
|
|
@users = User.order("created_at DESC").limit(10)
|
|
@groups = Group.order("created_at DESC").limit(10)
|
|
end
|
|
end
|