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