From: Raphaƫl Gertz Date: Thu, 29 Feb 2024 14:41:25 +0000 (+0100) Subject: Fix default controller renamed as user in user bundle X-Git-Tag: 0.3.0~20 X-Git-Url: https://git.rapsys.eu/airbundle/commitdiff_plain/2269e8003d2211ce255427813b60605e53c1e97d?ds=sidebyside Fix default controller renamed as user in user bundle --- 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: ~