Make pagination tabs dynamically update
This commit is contained in:
parent
052a6d4ce5
commit
ce40194147
2 changed files with 42 additions and 48 deletions
|
@ -37,7 +37,7 @@ class NestController extends ApplicationApiController
|
|||
*/
|
||||
public function index(GetNestsRequest $request): array
|
||||
{
|
||||
$nests = $this->repository->paginated(2);
|
||||
$nests = $this->repository->paginated(1);
|
||||
|
||||
return $this->fractal->collection($nests)
|
||||
->transformWith($this->getTransformer(NestTransformer::class))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue