/** * Show the form for editing the specified resource. * * @param int $id * @return \Illuminate\Http\Response */ public function edit($id) { $projet = Projet::find($id); return view('projet/edit', ['projet' => $projet]); }