1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-23 00:05:29 +00:00

Update Status model, add place relation

This commit is contained in:
Daniel Supernault 2019-08-17 01:44:59 -06:00
parent 94e444267f
commit 57edd32ed1
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -403,4 +403,9 @@ class Status extends Model
return $res[$audience];
}
public function place()
{
return $this->belongsTo(Place::class);
}
}