/** * Update the specified resource in storage. * * @param \Illuminate\Http\Request $request * @param int $id * @return \Illuminate\Http\Response */ public function update(Request $request, $id) { $datos = User::findOrNew($id); //$datos-> // return $id.' '.$request['direccion']; }