feat: update dashbord for admin panel
This commit is contained in:
@@ -14,7 +14,7 @@ class DashboardController extends Controller
|
||||
public function index()
|
||||
{
|
||||
$recentComments = Comment::with(['user', 'commentable'])
|
||||
->latest()
|
||||
->orderByDesc('created_at')
|
||||
->paginate(5);
|
||||
|
||||
$totalUser = User::count();
|
||||
|
||||
Reference in New Issue
Block a user