/** * Remove the specified Comment from storage. * * @param int $id * * @return Response */ public function destroy($id) { $comment = $this->commentRepository->find($id); if (empty($comment)) { Flash::error('Comment not found'); return redirect(route('comments.index')); } $this->commentRepository->delete($id); Flash::success('Comment deleted successfully.'); return redirect(route('comments.index')); }