]> Raphaƫl G. Git Repositories - userbundle/blobdiff - config/routes/rapsysuser.yaml
Add rapsysuser home route
[userbundle] / 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