user) ->isStandard() ->orderBy('albums.name') ->simplePaginate(21); return AlbumResource::collection($pagination); } public function show(Album $album) { return AlbumResource::make($this->albumRepository->getOne($album->id, $this->user)); } }