public function show($id)
    {
        $content = $this->repository->getById($id);

        if (!$content) {
            return $this->errorNotFound();
        }

        $this->authorize('read', $content);
        return new ContentResource($content);
    }