From d26704c71358ebc6663c8c148785c5b7f56e27de Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sun, 3 Feb 2019 14:47:50 -0700 Subject: [PATCH] Update Collection model --- app/Collection.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/Collection.php b/app/Collection.php index 2f6034f4e..e0e110f2e 100644 --- a/app/Collection.php +++ b/app/Collection.php @@ -6,5 +6,8 @@ use Illuminate\Database\Eloquent\Model; class Collection extends Model { - // + public function profile() + { + return $this->belongsTo(Profile::class); + } }