public function show(CommentRequest $request, Comment $comment)
    {

        if ($comment->exists) {
            $view = 'blog::comment.show';
        } else {
            $view = 'blog::comment.new';
        }

        return $this->response->title(trans('app.view') . ' ' . trans('blog::comment.name'))
            ->data(compact('comment'))
            ->view($view, true)
            ->output();
    }
public function show(CommentRequest $request, Comment $comment)
    {

        if ($comment->exists) {
            $view = 'blog::comment.show';
        } else {
            $view = 'blog::comment.new';
        }

        return $this->response->title(trans('app.view') . ' ' . trans('blog::comment.name'))
            ->data(compact('comment'))
            ->view($view, true)
            ->output();
    }
public function show ( CommentRequest $ request , Comment $ comment ) { if ( $ comment -> exists ) { $ view = 'blog::comment.show' ; } else { $ view = 'blog::comment.new' ; } return $ this -> response -> title ( trans ( 'app.view' ) . ' ' . trans ( 'blog::comment.name' ) ) -> data ( compact ( 'comment' ) ) -> view ( $ view , true ) -> output ( ) ; }
Display comment.

@param Request $request
@param Model   $comment

@return Response
Display comment .