From b4c6fe6f306eda08e8d920be15d24c2cfc49170f Mon Sep 17 00:00:00 2001 From: Ninja Date: Sun, 17 May 2020 15:58:12 -0700 Subject: [PATCH] Paginate return same issues as #253 --- src/Http/Controllers/TagsController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Http/Controllers/TagsController.php b/src/Http/Controllers/TagsController.php index f8251a66..36523173 100644 --- a/src/Http/Controllers/TagsController.php +++ b/src/Http/Controllers/TagsController.php @@ -21,7 +21,7 @@ public function index() }) ->orderBy('created_at', 'DESC') ->withCount('posts') - ->get(); + ->paginate(30); return TagsResource::collection($entries); }