/** * Show the form for editing the specified resource. * * @param int $id * @return \Illuminate\Http\Response */ public function edit($id) { $list = Item::findorfail($id); $disable = 1; return view('service.edit', compact('list', 'disable')); }