/** * Show the form for editing the specified resource. * * @param int $id * @return Response */ public function edit($id) { $editindustry = Industry::whereId($id)->first(); $industry = Industry::paginate(10); $industry->setpath(''); return view('setting/industry')->with('editindustry', $editindustry)->with('id', $id)->with('industry', $industry); }