]> Raphaƫl G. Git Repositories - userbundle/blob - config/routes/rapsysuser.yaml
Add home route
[userbundle] / config / routes / rapsysuser.yaml
1 rapsysuser:
2 path: /
3 controller: Rapsys\UserBundle\Controller\UserController::index
4 methods: GET
5
6 rapsysuser_confirm:
7 path: /confirm/{hash}/{mail}
8 controller: Rapsys\UserBundle\Controller\UserController::confirm
9 requirements:
10 hash: '[a-zA-Z0-9=_-]+'
11 mail: '[a-zA-Z0-9=_-]+'
12 methods: GET
13
14 rapsysuser_edit:
15 path: /user/{hash}/{mail}
16 controller: Rapsys\UserBundle\Controller\UserController::edit
17 requirements:
18 hash: '[a-zA-Z0-9=_-]+'
19 mail: '[a-zA-Z0-9=_-]+'
20 methods: GET|POST
21
22 rapsysuser_index:
23 path: /user
24 controller: Rapsys\UserBundle\Controller\UserController::index
25 methods: GET
26
27 rapsysuser_login:
28 path: /login/{hash}/{mail}
29 controller: Rapsys\UserBundle\Controller\UserController::login
30 defaults:
31 hash: ~
32 mail: ~
33 requirements:
34 hash: '[a-zA-Z0-9=_-]+'
35 mail: '[a-zA-Z0-9=_-]+'
36 methods: GET|POST
37
38 rapsysuser_logout:
39 path: /logout
40 methods: GET
41
42 rapsysuser_recover:
43 path: /recover/{hash}/{pass}/{mail}
44 controller: Rapsys\UserBundle\Controller\UserController::recover
45 defaults:
46 hash: ~
47 pass: ~
48 mail: ~
49 requirements:
50 hash: '[a-zA-Z0-9=_-]+'
51 pass: '[a-zA-Z0-9=_-]+'
52 mail: '[a-zA-Z0-9=_-]+'
53 methods: GET|POST
54
55 rapsysuser_register:
56 path: /register
57 controller: Rapsys\UserBundle\Controller\UserController::register
58 methods: GET|POST