/** * Show the form for editing the specified resource. * * @param int $id * @return Response */ public function edit(General $general, Menu $menu) { $theme = $general->theme(); $menuLocations = MenuLocation::orderBy('id')->lists('name_en', 'id'); $menuStatuses = MenuStatus::orderBy('id')->lists('name_en', 'id'); $theme['title'] = 'Edit Menu'; $theme['description'] = 'edit menu entry'; $button_text = 'Update Menu'; return view('admin.menu.edit', compact('theme', 'menu', 'menuLocations', 'menuStatuses', 'button_text')); }