]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Resources/config/routes/rapsys_air.yaml
Shorten bundle alias
[airbundle] / Resources / config / routes / rapsys_air.yaml
index 8d378ff979ad202a03d4caeeadfe1c069533677e..f74da645e89177391f11a4bd5a3f840d849b895c 100644 (file)
@@ -174,17 +174,17 @@ rapsys_air_user_view:
     controller: Rapsys\AirBundle\Controller\DefaultController::userView
     methods: GET|POST
 
-rapsys_user_confirm:
+rapsysuser_confirm:
     path:
         en_gb: '/en/confirm/{hash}/{mail}'
         fr_fr: '/confirmer/{hash}/{mail}'
-    controller: Rapsys\UserBundle\Controller\DefaultController::confirm
+    controller: Rapsys\UserBundle\Controller\UserController::confirm
     requirements:
         mail: '[a-zA-Z0-9=_-]+'
         hash: '[a-zA-Z0-9=_-]+'
     methods: GET|POST
 
-rapsys_user_edit:
+rapsysuser_edit:
     path:
         en_gb: '/en/user/{hash}/{mail}'
         fr_fr: '/utilisateur/{hash}/{mail}'
@@ -194,11 +194,11 @@ rapsys_user_edit:
         hash: '[a-zA-Z0-9=_-]+'
     methods: GET|POST
 
-rapsys_user_login:
+rapsysuser_login:
     path:
         en_gb: '/en/login/{hash}/{mail}'
         fr_fr: '/connecter/{hash}/{mail}'
-    controller: Rapsys\UserBundle\Controller\DefaultController::login
+    controller: Rapsys\UserBundle\Controller\UserController::login
     defaults:
         mail: ~
         hash: ~
@@ -207,17 +207,17 @@ rapsys_user_login:
         hash: '[a-zA-Z0-9=_-]+'
     methods: GET|POST
 
-rapsys_user_logout:
+rapsysuser_logout:
     path:
         en_gb: '/en/logout'
         fr_fr: '/deconnecter'
     methods: GET
 
-rapsys_user_recover:
+rapsysuser_recover:
     path:
         en_gb: '/en/recover/{hash}/{pass}/{mail}'
         fr_fr: '/recuperer/{hash}/{pass}/{mail}'
-    controller: Rapsys\UserBundle\Controller\DefaultController::recover
+    controller: Rapsys\UserBundle\Controller\UserController::recover
     defaults:
         mail: ~
         pass: ~
@@ -228,11 +228,11 @@ rapsys_user_recover:
         hash: '[a-zA-Z0-9=_-]+'
     methods: GET|POST
 
-rapsys_user_register:
+rapsysuser_register:
     path:
         en_gb: '/en/register/{hash}/{field}/{mail}'
         fr_fr: '/enregistrer/{hash}/{field}/{mail}'
-    controller: Rapsys\UserBundle\Controller\DefaultController::register
+    controller: Rapsys\UserBundle\Controller\UserController::register
     defaults:
         mail: ~
         field: ~