]> Raphaƫl G. Git Repositories - packbundle/blob - config/routes/rapsyspack.yaml
Add config and ctx member variables
[packbundle] / config / routes / rapsyspack.yaml
1 #Routes configuration
2 rapsyspack_captcha:
3 path: '/captcha/{hash<[a-zA-Z0-9=_-]+>}/{width<\d+>}/{height<\d+>}/{equation<[a-zA-Z0-9=_-]+>}.{!_format<(jpeg|png|webp)>?jpeg}'
4 controller: Rapsys\PackBundle\Controller::captcha
5 methods: GET
6
7 rapsyspack_css:
8 path: '/bundles/rapsyspack/pack/css/{file<[a-zA-Z0-9]+>}.{!_format<css>?css}'
9 methods: GET
10
11 rapsyspack_facebook:
12 path: '/facebook/{hash<[a-zA-Z0-9=_-]+>}/{width<\d+>}/{height<\d+>}/{path<[a-zA-Z0-9=_-]+>}.{!_format<(jpeg|png|webp)>?jpeg}'
13 controller: Rapsys\PackBundle\Controller::facebook
14 methods: GET
15
16 rapsyspack_img:
17 path: '/bundles/rapsyspack/pack/img/{file<[a-zA-Z0-9]+>}.{!_format<(jpeg|png|webp)>?jpeg}'
18 methods: GET
19
20 rapsyspack_js:
21 path: '/bundles/rapsyspack/pack/js/{file<[a-zA-Z0-9]+>}.{!_format<js>?js}'
22 methods: GET
23
24 rapsyspack_map:
25 path: '/map/{hash<[a-zA-Z0-9=_-]+>}/{latitude<\d+(\.?\d+)>},{longitude<\d+(\.?\d+)>}-{zoom<\d+>}-{width<\d+>}x{height<\d+>}.{!_format<(jpeg|png|webp)>?jpeg}'
26 controller: Rapsys\PackBundle\Controller::map
27 methods: GET
28
29 rapsyspack_multi:
30 path: '/multi/{hash<[a-zA-Z0-9=_-]+>}/{coordinate<\d+(\.\d+)?,\d+(\.\d+)?(-\d+(\.\d+)?,\d+(\.\d+)?)+>}-{zoom<\d+>}-{width<\d+>}x{height<\d+>}.{!_format<(jpeg|png|webp)>?jpeg}'
31 controller: Rapsys\PackBundle\Controller::multi
32 methods: GET
33
34 rapsyspack_thumb:
35 path: '/thumb/{hash<[a-zA-Z0-9=_-]+>}/{width<\d+>}/{height<\d+>}/{path<[a-zA-Z0-9=_-]+>}.{!_format<(jpeg|png|webp)>?jpeg}'
36 controller: Rapsys\PackBundle\Controller::thumb
37 methods: GET