From c03e7b4ada3845e37d9ce7b6cd1545adc9dfee8e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Mon, 28 Oct 2019 20:57:31 +0100 Subject: [PATCH] Add configuration files --- .../master/config/packages/rapsys_user.yaml | 5 +++++ .../master/config/routes/rapsys_user.yaml | 21 +++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 rapsys/userbundle/master/config/packages/rapsys_user.yaml create mode 100644 rapsys/userbundle/master/config/routes/rapsys_user.yaml 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: / -- 2.41.1