Esempio n. 1
0
 /**
  * Display the specified resource.
  *
  * @param  int  $id
  * @return Response
  */
 public function show(General $general, Menu $menu)
 {
     $theme = $general->theme();
     // dd($menu);
     $theme['title'] = $menu->name_en;
     $theme['description'] = 'single menu';
     $contents = $menu->contents()->orderBy('created_at', 'desc')->get();
     return view('admin.menu.show', compact('theme', 'menu', 'contents'));
 }