Update Status model

pull/663/head
Daniel Supernault 6 years ago
parent 1cba67b781
commit f39fec44f5
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7

@ -90,6 +90,9 @@ class Status extends Model
public function url()
{
if($this->url) {
return $this->url;
}
$id = $this->id;
$username = $this->profile->username;
$path = config('app.url')."/p/{$username}/{$id}";

Loading…
Cancel
Save