remove uneeded check

This commit is contained in:
Bernhard Posselt
2015-01-15 16:28:09 +01:00
parent cbb084771c
commit 8ccc117943

View File

@@ -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);
}
/**