Skip to content

Commit

Permalink
Merge branch 'bmitch-master'
Browse files Browse the repository at this point in the history
  • Loading branch information
etrepat committed Mar 4, 2015
2 parents ae0cf74 + 4384e53 commit 5880b3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ Retrieving a complete tree hierarchy into a regular `Collection` object with
its children *properly nested* is as simple as:

```php
$tree = Category::where('name', '=', Books)->first()->getDescendantsAndSelf()->toHierarchy();
$tree = Category::where('name', '=', 'Books')->first()->getDescendantsAndSelf()->toHierarchy();
```

<a name="node-model-events"></a>
Expand Down

0 comments on commit 5880b3d

Please sign in to comment.