From 2269e8003d2211ce255427813b60605e53c1e97d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Thu, 29 Feb 2024 15:41:25 +0100 Subject: [PATCH] Fix default controller renamed as user in user bundle --- Resources/config/routes/rapsys_air.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Resources/config/routes/rapsys_air.yaml b/Resources/config/routes/rapsys_air.yaml index 8d378ff..3b54bf8 100644 --- a/Resources/config/routes/rapsys_air.yaml +++ b/Resources/config/routes/rapsys_air.yaml @@ -178,7 +178,7 @@ rapsys_user_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=_-]+' @@ -198,7 +198,7 @@ rapsys_user_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: ~ @@ -217,7 +217,7 @@ rapsys_user_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: ~ @@ -232,7 +232,7 @@ rapsys_user_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: ~ -- 2.41.1