protected function show($slug)
    {
        $comment = $this->repository->scopeQuery(function($query) use ($slug) {
            return $query->orderBy('id','DESC')
                         ->where('slug', $slug);
        })->first(['*']);

        return $this->response->title($$comment->name . trans('blog::comment.name'))
            ->view('blog::public.comment.show')
            ->data(compact('comment'))
            ->output();
    }
protected function show($slug)
    {
        $comment = $this->repository->scopeQuery(function($query) use ($slug) {
            return $query->orderBy('id','DESC')
                         ->where('slug', $slug);
        })->first(['*']);

        return $this->response->title($$comment->name . trans('blog::comment.name'))
            ->view('blog::public.comment.show')
            ->data(compact('comment'))
            ->output();
    }
protected function show ( $ slug ) { $ comment = $ this -> repository -> scopeQuery ( function ( $ query ) use ( $ slug ) { return $ query -> orderBy ( 'id' , 'DESC' ) -> where ( 'slug' , $ slug ) ; } ) -> first ( [ '*' ] ) ; return $ this -> response -> title ( $ $ comment -> name . trans ( 'blog::comment.name' ) ) -> view ( 'blog::public.comment.show' ) -> data ( compact ( 'comment' ) ) -> output ( ) ; }
Show comment.

@param string $slug

@return response
Show comment .