1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2025-01-03 13:44:13 +00:00

Update status model

This commit is contained in:
Daniel Supernault 2018-05-31 16:03:43 -06:00
parent 21d7e47673
commit ab6079f2fe

View file

@ -32,7 +32,7 @@ class Status extends Model
{ {
$id = $this->id; $id = $this->id;
$username = $this->profile->username; $username = $this->profile->username;
return url(config('app.url') . "/p/@{$username}/{$id}"); return url(config('app.url') . "/p/{$username}/{$id}");
} }
public function mediaUrl() public function mediaUrl()