Skip to content

Commit

Permalink
Update Category.php (#197)
Browse files Browse the repository at this point in the history
  • Loading branch information
firescript authored and marktopper committed Feb 27, 2018
1 parent f376c10 commit d9253c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Models/Category.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class Category extends Model

public function discussions()
{
return $this->hasMany(Models::className(Discussion::class));
return $this->hasMany(Models::className(Discussion::class),'chatter_category_id');
}

public function parents()
Expand Down

0 comments on commit d9253c0

Please sign in to comment.