1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-25 01:05:36 +00:00

Update StatusController

This commit is contained in:
Daniel Supernault 2018-11-10 20:15:26 -07:00
parent 905c2417ae
commit c8737113f3
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -39,7 +39,8 @@ class StatusController extends Controller
return $this->showActivityPub($request, $status);
}
return view('status.show', compact('user', 'status'));
$template = $status->in_reply_to_id ? 'status.reply' : 'status.show';
return view($template, compact('user', 'status'));
}
public function compose()