public function show(Post $post)
    {
        $this->authorize(PostsPolicy::PERMISSION_SHOW);

        $post = $post->load(['author', 'category', 'tags', 'seo']);

        $this->setTitle(trans('blog::posts.titles.post-details'));
        $this->addBreadcrumb($post->title);

        return $this->view('admin.posts.show', compact('post'));
    }
public function show(Post $post)
    {
        $this->authorize(PostsPolicy::PERMISSION_SHOW);

        $post = $post->load(['author', 'category', 'tags', 'seo']);

        $this->setTitle(trans('blog::posts.titles.post-details'));
        $this->addBreadcrumb($post->title);

        return $this->view('admin.posts.show', compact('post'));
    }
public function show ( Post $ post ) { $ this -> authorize ( PostsPolicy :: PERMISSION_SHOW ) ; $ post = $ post -> load ( [ 'author' , 'category' , 'tags' , 'seo' ] ) ; $ this -> setTitle ( trans ( 'blog::posts.titles.post-details' ) ) ; $ this -> addBreadcrumb ( $ post -> title ) ; return $ this -> view ( 'admin.posts.show' , compact ( 'post' ) ) ; }
Show a post.

@param  \Arcanesoft\Blog\Models\Post  $post

@return \Illuminate\View\View
Show a post .