/** * Show the form for editing the specified resource. * * @param int $id * @return \Illuminate\Http\Response */ public function edit($id) { $model = Camara::findOrFail($id); $lugares = Lugar::lists('nombre', 'id'); return view('camara.edit', compact('model', 'lugares')); }