public function edit($id) { $art = Article::findOrFail($id); $cate = Category::whereNull('deleted_at')->get(); return view('admin.article.edit')->with('article', $art)->with('hotTag', \App\Http\Controllers\Home\ArticleController::hotTag())->with('category', $cate); }