From 94dd533be595845f05062899890a7ffa5d87bdc8 Mon Sep 17 00:00:00 2001 From: afornerot Date: Tue, 26 Nov 2024 20:43:55 +0100 Subject: [PATCH] svg --- src/Controller/UserController.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Controller/UserController.php b/src/Controller/UserController.php index aae94c3..dc46c53 100644 --- a/src/Controller/UserController.php +++ b/src/Controller/UserController.php @@ -99,10 +99,12 @@ class UserController extends AbstractController #[Route('/admin/user/delete', name: 'app_admin_user_delete')] public function delete(): Response { + return $this->redirectToRoute('app_admin_user'); } #[Route('/user', name: 'app_user_profil')] public function profil(): Response { + return $this->redirectToRoute('app_home'); } }