/** * Show the form for editing the specified resource. * * @param int $id * @return \Illuminate\Http\Response */ public function edit($id) { $tipousuarios = TipoUsuario::all(); $usuario = Usuario::find($id); return view('usuarios.edita')->with(compact('usuario', 'tipousuarios')); }