Add configuration files
authorRaphaël Gertz <git@rapsys.eu>
Mon, 28 Oct 2019 19:57:31 +0000 (20:57 +0100)
committerRaphaël Gertz <git@rapsys.eu>
Mon, 28 Oct 2019 19:57:31 +0000 (20:57 +0100)
rapsys/userbundle/master/config/packages/rapsys_user.yaml [new file with mode: 0644]
rapsys/userbundle/master/config/routes/rapsys_user.yaml [new file with mode: 0644]

diff --git a/rapsys/userbundle/master/config/packages/rapsys_user.yaml b/rapsys/userbundle/master/config/packages/rapsys_user.yaml
new file mode 100644 (file)
index 0000000..8fa244e
--- /dev/null
@@ -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 (file)
index 0000000..6962599
--- /dev/null
@@ -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:     /