1
0
Fork 0

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
1 changed files with 2 additions and 1 deletions

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