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