Esempio n. 1
0
 /**
  * Show the form for editing the specified resource.
  *
  * @param  int $id
  * @return Response
  */
 public function edit($id)
 {
     $cont = Contacto::find($id);
     $telefones = Telefone::where('contacto_id', '=', $id)->get();
     $emails = Email::where('contacto_id', '=', $id)->get();
     return view("contacto", ['cont' => $cont]);
 }