]> Raphaƫl G. Git Repositories - userbundle/blob - Resources/config/routes/rapsys_user.yaml
Add cache and form factory
[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_index:
18 path: /
19 controller: Rapsys\UserBundle\Controller\UserController::index
20 methods: GET
21
22 rapsys_user_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 rapsys_user_logout:
34 path: /logout
35 methods: GET
36
37 rapsys_user_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 rapsys_user_register:
51 path: /register
52 controller: Rapsys\UserBundle\Controller\UserController::register
53 methods: GET|POST