mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 06:21:27 +00:00
Update CollectionItem
This commit is contained in:
parent
d26704c713
commit
a0bebad28c
1 changed files with 4 additions and 1 deletions
|
@ -6,5 +6,8 @@ use Illuminate\Database\Eloquent\Model;
|
|||
|
||||
class CollectionItem extends Model
|
||||
{
|
||||
//
|
||||
public function collection()
|
||||
{
|
||||
return $this->belongsTo(Collection::class);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue