src/Http/Controllers/UserController.php
public function show($id)
    {
        if(!$object = $this->repository->find($id)) {
            abort(404);
        }

        $this->authorize('view', $object);

        return $this->response->resource($object);
    }
public function show($id)
    {
        if(!$object = $this->repository->find($id)) {
            abort(404);
        }

        $this->authorize('view', $object);

        return $this->response->resource($object);
    }
Show

@param $id

@return Resource|UserResource