Update Status model

pull/547/head
Daniel Supernault 6 years ago
parent c6e3ad0212
commit 905c2417ae
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7

@ -64,11 +64,6 @@ class Status extends Model
$id = $this->id;
$username = $this->profile->username;
$path = config('app.url')."/p/{$username}/{$id}";
if (!is_null($this->in_reply_to_id)) {
$pid = $this->in_reply_to_id;
$path = "{$this->parent()->url()}#comment-{$id}";
}
return url($path);
}

Loading…
Cancel
Save