From d5bb6626b3de6031aeafb92f1c157bbfb29396de Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sat, 12 Jan 2019 00:44:51 -0700 Subject: [PATCH] Update StoryReaction model --- app/StoryItem.php | 8 ++++---- app/StoryReaction.php | 5 ++++- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/app/StoryItem.php b/app/StoryItem.php index 542b65082..885006968 100644 --- a/app/StoryItem.php +++ b/app/StoryItem.php @@ -6,8 +6,8 @@ use Illuminate\Database\Eloquent\Model; class StoryItem extends Model { - public function story() - { - return $this->belongsTo(Story::class); - } + public function story() + { + return $this->belongsTo(Story::class); + } } diff --git a/app/StoryReaction.php b/app/StoryReaction.php index 8b9cc806a..dff5c7ce9 100644 --- a/app/StoryReaction.php +++ b/app/StoryReaction.php @@ -6,5 +6,8 @@ use Illuminate\Database\Eloquent\Model; class StoryReaction extends Model { - // + public function story() + { + return $this->belongsTo(Story::class); + } }