Skip to content

Commit

Permalink
Merge pull request #254 from ninjaparade/patch-1
Browse files Browse the repository at this point in the history
Paginate return
  • Loading branch information
themsaid committed May 18, 2020
2 parents 763d77a + b4c6fe6 commit 39067bc
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 39067bc

Please sign in to comment.