feat: update dashbord for admin panel

This commit is contained in:
2026-08-20 15:53:41 +03:30
parent 82cbf91108
commit b1555b884f
@@ -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();