/** * @return \Illuminate\Http\JsonResponse */ public function index() { $this->authorize('index'); return $this->outputList(Pet::query()); }