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); + } }