]> Raphaƫl G. Git Repositories - userbundle/blobdiff - Resources/config/routes/rapsys_user.yaml
Php 8.x constructor style
[userbundle] / Resources / config / routes / rapsys_user.yaml
index 304077065595e1b3f333232c2011987c9b170d03..fed2abde69a1893c4cfec3c3bbc48b417957bfe1 100644 (file)
@@ -14,6 +14,11 @@ rapsys_user_edit:
         mail: '[a-zA-Z0-9=_-]+'
     methods: GET|POST
 
         mail: '[a-zA-Z0-9=_-]+'
     methods: GET|POST
 
+rapsys_user_index:
+    path: /
+    controller: Rapsys\UserBundle\Controller\UserController::index
+    methods: GET
+
 rapsys_user_login:
     path: /login/{hash}/{mail}
     controller: Rapsys\UserBundle\Controller\UserController::login
 rapsys_user_login:
     path: /login/{hash}/{mail}
     controller: Rapsys\UserBundle\Controller\UserController::login
@@ -46,8 +51,3 @@ rapsys_user_register:
     path: /register
     controller: Rapsys\UserBundle\Controller\UserController::register
     methods: GET|POST
     path: /register
     controller: Rapsys\UserBundle\Controller\UserController::register
     methods: GET|POST
-
-rapsys_user:
-    path: /
-    controller: Rapsys\UserBundle\Controller\UserController::index
-    methods: GET