]> Raphaƫl G. Git Repositories - packbundle/blob - Resources/config/routes/rapsys_pack.yaml
Add image controller and util classes
[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_thumb:
8 path: '/thumb/{hash<[a-zA-Z0-9=_-]+>}/{updated<\d+>}/{path<[a-zA-Z0-9=_-]+>}/{width<\d+>?640}/{height<\d+>?640}.{_format?jpeg}'
9 controller: Rapsys\PackBundle\Controller\ImageController::thumb
10 methods: GET
11
12 rapsys_pack_map:
13 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}'
14 controller: Rapsys\PackBundle\Controller\MapController::map
15 methods: GET
16
17 rapsys_pack_multimap:
18 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}'
19 controller: Rapsys\PackBundle\Controller\MapController::multimap
20 methods: GET