From 9805cd841f77637ca7fb80568a8ea4e945e6986f Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Mon, 8 Jul 2019 21:46:00 -0600 Subject: [PATCH] Update HashtagFollow model, add hashtag relation --- app/HashtagFollow.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/HashtagFollow.php b/app/HashtagFollow.php index 74ff73074..0503330b0 100644 --- a/app/HashtagFollow.php +++ b/app/HashtagFollow.php @@ -11,4 +11,9 @@ class HashtagFollow extends Model 'profile_id', 'hashtag_id' ]; + + public function hashtag() + { + return $this->belongsTo(Hashtag::class); + } }