From b09fab31f14a09c1e639543e4955f5aa24c63526 Mon Sep 17 00:00:00 2001 From: Ryan Owens Date: Sun, 7 May 2017 13:23:37 -0500 Subject: [PATCH] Fix Discussion-Category relationship --- src/Models/Category.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Models/Category.php b/src/Models/Category.php index 9c6d6422..7fee1988 100755 --- a/src/Models/Category.php +++ b/src/Models/Category.php @@ -11,6 +11,6 @@ class Category extends Model public function discussions() { - return $this->hasMany(Models::className(Discussion::class)); + return $this->hasMany(Models::className(Discussion::class), 'chatter_category_id'); } }