diff --git a/src/Controller/UserController.php b/src/Controller/UserController.php index da2b78e..362298b 100755 --- a/src/Controller/UserController.php +++ b/src/Controller/UserController.php @@ -171,7 +171,7 @@ class UserController extends AbstractController $em->flush(); // Retour à la liste - return $this->redirectToRoute("app_home_user",["userpseudo"=>$data->getPseudo()]); + return $this->redirectToRoute("app_home_user",["userpseudo"=>$data->getSlug()]); } // Affichage du formulaire