public function update($id) { $arrayUser = Input::all(); NguoiDung::where('id', '=', $id)->update($arrayUser); return Redirect::back()->with('message', 'Sửa thông tin người dùng thành công!'); }