]> Raphaƫl G. Git Repositories - packbundle/blob - Resources/config/routes/rapsys_pack.yaml
Remove container member defined in AbstractController
[packbundle] / Resources / config / routes / rapsys_pack.yaml
1 #Routes configuration
2 rapsys_pack_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 rapsys_pack_facebook:
10 path: '/bundles/rapsyspack/facebook/{mtime<\d+>}{path</.*>}.{!_format?jpeg}'
11 methods: GET
12
13 rapsys_pack_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 rapsys_pack_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 rapsys_pack_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