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()