From 5478fe44867886d37c941ec81c94fb9afc3d7c39 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Thu, 31 Oct 2024 06:37:06 +0100 Subject: [PATCH] Add rapsysuser home route Remove post on confirm route Change rapsysuser index path --- config/routes/rapsysuser.yaml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/config/routes/rapsysuser.yaml b/config/routes/rapsysuser.yaml index d9c47a3..0db772d 100644 --- a/config/routes/rapsysuser.yaml +++ b/config/routes/rapsysuser.yaml @@ -1,10 +1,15 @@ +rapsysuser: + path: / + controller: Rapsys\UserBundle\Controller\UserController::index + methods: GET + rapsysuser_confirm: path: /confirm/{hash}/{mail} controller: Rapsys\UserBundle\Controller\UserController::registerMail requirements: hash: '[a-zA-Z0-9=_-]+' mail: '[a-zA-Z0-9=_-]+' - methods: GET|POST + methods: GET rapsysuser_edit: path: /user/{hash}/{mail} @@ -15,7 +20,7 @@ rapsysuser_edit: methods: GET|POST rapsysuser_index: - path: / + path: /user controller: Rapsys\UserBundle\Controller\UserController::index methods: GET -- 2.41.1