]> Raphaƫl G. Git Repositories - packbundle/blob - Resources/config/routes/rapsys_pack.yaml
c9ad80af9b8a7b29e9b43513f50533b1cbffaaa1
[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 rapsys_pack_facebook:
8 path: '/bundles/rapsyspack/facebook/{mtime<\d+>}{path</.*>}.{!_format?jpeg}'
9 methods: GET
10
11 rapsys_pack_map:
12 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}'
13 controller: Rapsys\PackBundle\Controller\MapController::map
14 methods: GET
15
16 rapsys_pack_multimap:
17 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}'
18 controller: Rapsys\PackBundle\Controller\MapController::multimap
19 methods: GET
20
21 rapsys_pack_thumb:
22 path: '/thumb/{hash<[a-zA-Z0-9=_-]+>}/{updated<\d+>}/{path<[a-zA-Z0-9=_-]+>}/{width<\d+>?640}/{height<\d+>?640}.{_format?jpeg}'
23 controller: Rapsys\PackBundle\Controller\ImageController::thumb
24 methods: GET