public function edit(Article $article)
    {
        $tags         = Article::existingTags()->pluck('name');
        $selectedTags = implode(',', $article->tagNames());

        return view('administrator.articles.edit', compact('article', 'tags', 'selectedTags'));
    }
public function edit(Article $article)
    {
        $tags         = Article::existingTags()->pluck('name');
        $selectedTags = implode(',', $article->tagNames());

        return view('administrator.articles.edit', compact('article', 'tags', 'selectedTags'));
    }
public function edit ( Article $ article ) { $ tags = Article :: existingTags ( ) -> pluck ( 'name' ) ; $ selectedTags = implode ( ',' , $ article -> tagNames ( ) ) ; return view ( 'administrator.articles.edit' , compact ( 'article' , 'tags' , 'selectedTags' ) ) ; }
Show and edit selected article.

@param \Yajra\CMS\Entities\Article $article
@return mixed
Show and edit selected article .