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