public function edit($id) { $displays = $displayss = Display::all(); $categorys = $categoryss = Category::all(); $article = Article::find($id); return view('admin.articles.edit', ['article' => $article, "categorys" => $categorys, "categoryss" => $categoryss, "displays" => $displays, "displayss" => $displayss]); }
public function edit($id) { $album = Album::find($id); $displays = $displayss = Display::all(); return view('admin.album.edit', ['album' => $album, "displays" => $displays, "displayss" => $displayss]); }
public function edit($id) { $video = Video::find($id); $displays = $displayss = Display::all(); return view('admin.video.edit', ['video' => $video, "displays" => $displays, "displayss" => $displayss]); }
public function index() { $displays = $displayss = Display::all(); return view('admin.displays.index', ["displays" => $displays, "displayss" => $displayss]); }