From: Raphaƫl Gertz Date: Mon, 28 Oct 2019 19:57:31 +0000 (+0100) Subject: Add configuration files X-Git-Url: https://git.rapsys.eu/recipe/commitdiff_plain/c03e7b4ada3845e37d9ce7b6cd1545adc9dfee8e Add configuration files --- diff --git a/rapsys/userbundle/master/config/packages/rapsys_user.yaml b/rapsys/userbundle/master/config/packages/rapsys_user.yaml new file mode 100644 index 0000000..8fa244e --- /dev/null +++ b/rapsys/userbundle/master/config/packages/rapsys_user.yaml @@ -0,0 +1,5 @@ +services: + Rapsys\UserBundle\Controller\DefaultController: + tags: [ controller.service_arguments ] + Rapsys\UserBundle\Utils\Slugger: + arguments: [ "@service_container" ] diff --git a/rapsys/userbundle/master/config/routes/rapsys_user.yaml b/rapsys/userbundle/master/config/routes/rapsys_user.yaml new file mode 100644 index 0000000..6962599 --- /dev/null +++ b/rapsys/userbundle/master/config/routes/rapsys_user.yaml @@ -0,0 +1,21 @@ +rapsys_user_login: + path: /login + defaults: { _controller: RapsysUserBundle:Default:login } + +rapsys_user_recover: + path: /recover + defaults: { _controller: RapsysUserBundle:Default:recover } + +rapsys_user_recover_mail: + path: /recover/{mail}/{hash} + defaults: { _controller: RapsysUserBundle:Default:recoverMail } + +rapsys_user_register: + path: /register + defaults: { _controller: RapsysUserBundle:Default:register } + +rapsys_user_logout: + path: /logout + +rapsys_user_homepage: + path: /