Fix bug in tutorial - missing return

This commit is contained in:
Master Yoda 2017-05-04 07:40:03 -07:00
parent 6d91bf8bc4
commit 27f681c539
No known key found for this signature in database
GPG Key ID: CED549230775AD5B
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@ -116,3 +116,4 @@ nb-configuration.xml
# Visual Studio Code
.vscode/
/results/

View File

@ -65,7 +65,7 @@ following code to your model.
{
if ($slug === false)
{
$this->findAll();
return $this->findAll();
}
return $this->asArray()