]> Raphaƫl G. Git Repositories - userbundle/blobdiff - config/routes/rapsysuser.yaml
Fix confirm route user controller method
[userbundle] / config / routes / rapsysuser.yaml
index d9c47a356eff1df4ca53dc42ed505b69617fa74d..2ce9425668e5fd99cefa4cea5ebb68a0b2055261 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
+    controller: Rapsys\UserBundle\Controller\UserController::confirm
     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