Skip to content

Commit

Permalink
Paginate return
Browse files Browse the repository at this point in the history
same issues as #253
  • Loading branch information
ninjaparade authored May 17, 2020
1 parent 763d77a commit b4c6fe6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http/Controllers/TagsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public function index()
})
->orderBy('created_at', 'DESC')
->withCount('posts')
->get();
->paginate(30);

return TagsResource::collection($entries);
}
Expand Down

0 comments on commit b4c6fe6

Please sign in to comment.