/** * Remove comment. * * @param Comment $comment Comment instance * * @return \Symfony\Component\HttpFoundation\Response */ public function remove($comment) { if (!$comment->canRemove()) { abort(403); } $comment->delete(); return response()->json(['status' => 'ok']); }