Fix RolesContainer, refactor NestsContainer
This commit is contained in:
parent
ce40194147
commit
b1d30c1bde
8 changed files with 74 additions and 107 deletions
|
@ -37,7 +37,7 @@ class NestController extends ApplicationApiController
|
|||
*/
|
||||
public function index(GetNestsRequest $request): array
|
||||
{
|
||||
$nests = $this->repository->paginated(1);
|
||||
$nests = $this->repository->paginated(10);
|
||||
|
||||
return $this->fractal->collection($nests)
|
||||
->transformWith($this->getTransformer(NestTransformer::class))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue