]> Raphaël G. Git Repositories - userbundle/commitdiff
Add rapsysuser home route
authorRaphaël Gertz <git@rapsys.eu>
Thu, 31 Oct 2024 05:37:06 +0000 (06:37 +0100)
committerRaphaël Gertz <git@rapsys.eu>
Thu, 31 Oct 2024 05:37:06 +0000 (06:37 +0100)
Remove post on confirm route
Change rapsysuser index path

config/routes/rapsysuser.yaml

index d9c47a356eff1df4ca53dc42ed505b69617fa74d..0db772d8d9af6823fcf2982109aaec65d791a6df 100644 (file)
@@ -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