public function update($personID, PersonUpdateRequest $updateForm) { $this->personProvider->updatePerson($personID, $updateForm->sanitize()); Flash::successUpdate(); return \Redirect::to(route('admin.person.index')); }
public function updateAccountPerson(PersonUpdate $apu) { Flash::successUpdate(2); \Spirit::getPersonProvider()->updatePerson(\Auth::user()->getAttribute('person_id'), $apu->sanitize()); return \Redirect::back(); }