public function blogCommentForm()
{
if (IDE_HACKS) {
$this->blog = new Blog();
}
$filter = new CommentForm();
try {
$post = $filter($_POST);
} catch (\TypeError $ex) {
\Airship\json_response(['status' => 'ERROR', 'message' => 'Invalid POST data']);
return;
}
$formAction = '/' . \trim(\implode('/', [$this->airship_cabin_prefix, 'blog', $post['year'], $post['month'], $post['slug']]), '/');
$this->lens('blog/comment_form', ['form_action' => $formAction, 'config' => $this->config()]);
}