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