From 829e99318bcc6d99d6fdbaf4c939c31e11112e60 Mon Sep 17 00:00:00 2001 From: afornerot Date: Fri, 1 Nov 2024 17:07:19 +0100 Subject: [PATCH] svg --- src/Controller/UserController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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