Пример #1
0
 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]);
 }
Пример #2
0
 public function edit($id)
 {
     $album = Album::find($id);
     $displays = $displayss = Display::all();
     return view('admin.album.edit', ['album' => $album, "displays" => $displays, "displayss" => $displayss]);
 }
Пример #3
0
 public function edit($id)
 {
     $video = Video::find($id);
     $displays = $displayss = Display::all();
     return view('admin.video.edit', ['video' => $video, "displays" => $displays, "displayss" => $displayss]);
 }
Пример #4
0
 public function index()
 {
     $displays = $displayss = Display::all();
     return view('admin.displays.index', ["displays" => $displays, "displayss" => $displayss]);
 }