diff --git a/developer_manual/app/tutorial.rst b/developer_manual/app/tutorial.rst index b5c902955..0cd06a15e 100644 --- a/developer_manual/app/tutorial.rst +++ b/developer_manual/app/tutorial.rst @@ -607,9 +607,7 @@ Now we can wire up the trait and the service inside the **NoteController**: * @param string $content */ public function create($title, $content) { - return $this->handleNotFound(function () use ($title, $content) { - return $this->service->create($title, $content, $this->userId); - }); + return $this->service->create($title, $content, $this->userId); } /**