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'); } }