]> Raphaël G. Git Repositories - recipe/commitdiff
Fix controller naming
authorRaphaël Gertz <git@rapsys.eu>
Thu, 14 Nov 2019 22:17:37 +0000 (23:17 +0100)
committerRaphaël Gertz <git@rapsys.eu>
Thu, 14 Nov 2019 22:17:37 +0000 (23:17 +0100)
rapsys/userbundle/master/config/routes/rapsys_user.yaml

index 69625999fe042ddcb2f9764d95de18389055f937..3a36e42b45b539d1e5fa1f56d840aa3dcdb63156 100644 (file)
@@ -1,18 +1,18 @@
 rapsys_user_login:
     path:     /login
 rapsys_user_login:
     path:     /login
-    defaults: { _controller: RapsysUserBundle:Default:login }
+    defaults: { _controller: Rapsys\UserBundle\Controller\DefaultController::login }
 
 rapsys_user_recover:
     path:     /recover
 
 rapsys_user_recover:
     path:     /recover
-    defaults: { _controller: RapsysUserBundle:Default:recover }
+    defaults: { _controller: Rapsys\UserBundle\Controller\DefaultController::recover }
 
 rapsys_user_recover_mail:
 
 rapsys_user_recover_mail:
-    path:     /recover/{mail}/{hash}
-    defaults: { _controller: RapsysUserBundle:Default:recoverMail }
+    path:     /recover/{recipient}/{hash}
+    defaults: { _controller: Rapsys\UserBundle\Controller\DefaultController::recoverMail }
 
 rapsys_user_register:
     path:     /register
 
 rapsys_user_register:
     path:     /register
-    defaults: { _controller: RapsysUserBundle:Default:register }
+    defaults: { _controller: Rapsys\UserBundle\Controller\DefaultController::register }
 
 rapsys_user_logout:
     path:     /logout
 
 rapsys_user_logout:
     path:     /logout