6 lines
198 B
Ruby
6 lines
198 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)
|
|
end
|
|
end
|