From 8ccc11794302cc7a47a659afb16880dcbc2e0a59 Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Thu, 15 Jan 2015 16:28:09 +0100 Subject: [PATCH] remove uneeded check --- developer_manual/app/tutorial.rst | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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); } /**