mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 14:31:26 +00:00
Update Status model, add place relation
This commit is contained in:
parent
94e444267f
commit
57edd32ed1
1 changed files with 5 additions and 0 deletions
|
@ -403,4 +403,9 @@ class Status extends Model
|
||||||
return $res[$audience];
|
return $res[$audience];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function place()
|
||||||
|
{
|
||||||
|
return $this->belongsTo(Place::class);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue