public function edit($id) { $shop = Shop::findorFail($id); return view('shops.edit', compact('shop')); }