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