]> Raphaƫl G. Git Repositories - packbundle/blob - config/routes/rapsyspack.yaml
aa0a953bbb2aec011c946bac507be1b7ce7cc8a1
[packbundle] / config / routes / rapsyspack.yaml
1 #Routes configuration
2 rapsyspack_captcha:
3 path: '/captcha/{hash<[a-zA-Z0-9=_-]+>}/{updated<\d+>}/{equation<[a-zA-Z0-9=_-]+>}/{width<\d+>?120}/{height<\d+>?36}.{!_format?jpeg}'
4 controller: Rapsys\PackBundle\Controller\ImageController::captcha
5 methods: GET
6
7 #TODO: replace this url with a redirection route ???
8 #XXX: we don't need the mtime, maybe we can drop it in this redirect instead of apache ?
9 rapsyspack_facebook:
10 path: '/bundles/rapsyspack/facebook/{mtime<\d+>}{path</.*>}.{!_format?jpeg}'
11 methods: GET
12
13 rapsyspack_map:
14 path: '/map/{hash<[a-zA-Z0-9=_-]+>}/{updated<\d+>}/{latitude<\d+(\.?\d+)?>}/{longitude<\d+(\.?\d+)?>}/{zoom<\d+>?17}/{width<\d+>?640}/{height<\d+>?640}.{!_format?jpeg}'
15 controller: Rapsys\PackBundle\Controller\MapController::map
16 methods: GET
17
18 rapsyspack_multimap:
19 path: '/multimap/{hash<[a-zA-Z0-9=_-]+>}/{updated<\d+>}/{latitude<\d+(\.?\d+)?>}/{longitude<\d+(\.?\d+)?>}/{coordinates<(?:\d+(\.\d+)?,\d+(\.\d+)?(-\d+(\.\d+)?,\d+(\.\d+)?)*)?>}/{zoom<\d+>?15}/{width<\d+>?640}/{height<\d+>?640}.{!_format?jpeg}'
20 controller: Rapsys\PackBundle\Controller\MapController::multimap
21 methods: GET
22
23 rapsyspack_thumb:
24 path: '/thumb/{hash<[a-zA-Z0-9=_-]+>}/{updated<\d+>}/{path<[a-zA-Z0-9=_-]+>}/{width<\d+>?640}/{height<\d+>?640}.{!_format?jpeg}'
25 controller: Rapsys\PackBundle\Controller\ImageController::thumb
26 methods: GET