/** * Show the form for creating a new !resource. * * @return \Illuminate\Http\Response */ public function create() { $group = Mgroup::lists('name', 'id'); $cata = Catalogue::get(); $mas = $this->allmaterials(); return view('backend.pages.menu.dish.create', compact('catalogue', 'group'))->withMaterials($mas)->withCatalogues($cata); }