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