Skip to content

Commit

Permalink
Merge pull request #12 from zanderwar/patch-1
Browse files Browse the repository at this point in the history
Update example with use statement
  • Loading branch information
stevie-mayhew authored Sep 10, 2017
2 parents 1999d04 + bde3d5f commit c70388e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ $ composer require littlegiant/silverstripe-singleobjectadmin
Simply extend the SingleObjectAdmin class instead of ModelAdmin and include the class via the `tree_class` static.

```php
use LittleGiant\SingleObjectAdmin\SingleObjectAdmin;

class ProductSettingsAdmin extends SingleObjectAdmin
{
Expand Down

0 comments on commit c70388e

Please sign in to comment.