Skip to content

Commit

Permalink
Added missing scope property to custom category model
Browse files Browse the repository at this point in the history
  • Loading branch information
stevebauman committed May 8, 2015
1 parent 0812afe commit f88892a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/INSTALLATION.md
Expand Up @@ -119,6 +119,8 @@ Category:
{
protected $table = 'categories';
protected $scoped = ['belongs_to'];
public function inventories()
{
return $this->hasMany('Inventory', 'category_id');
Expand Down

0 comments on commit f88892a

Please sign in to comment.