public updateAction ( |
||
$user | The user to update, including updated data already (name, email address etc) | |
return | void |
public function updateAction(User $user)
{
$this->userService->updateUser($user);
$this->addFlashMessage('The user "%s" has been updated.', 'User updated', Message::SEVERITY_OK, array($user->getName()->getFullName()), 1412374498);
$this->redirect('index');
}