From 5ded2ab01b306f7d8f5168ace047d48fce5d53ab Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Thu, 7 Mar 2024 18:00:29 +0100 Subject: [PATCH] Rename pack bundle route alias --- Resources/config/routes/rapsyspack.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Resources/config/routes/rapsyspack.yaml b/Resources/config/routes/rapsyspack.yaml index 72d3a27..aa0a953 100644 --- a/Resources/config/routes/rapsyspack.yaml +++ b/Resources/config/routes/rapsyspack.yaml @@ -1,26 +1,26 @@ #Routes configuration -rapsys_pack_captcha: +rapsyspack_captcha: path: '/captcha/{hash<[a-zA-Z0-9=_-]+>}/{updated<\d+>}/{equation<[a-zA-Z0-9=_-]+>}/{width<\d+>?120}/{height<\d+>?36}.{!_format?jpeg}' controller: Rapsys\PackBundle\Controller\ImageController::captcha methods: GET #TODO: replace this url with a redirection route ??? #XXX: we don't need the mtime, maybe we can drop it in this redirect instead of apache ? -rapsys_pack_facebook: +rapsyspack_facebook: path: '/bundles/rapsyspack/facebook/{mtime<\d+>}{path}.{!_format?jpeg}' methods: GET -rapsys_pack_map: +rapsyspack_map: 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}' controller: Rapsys\PackBundle\Controller\MapController::map methods: GET -rapsys_pack_multimap: +rapsyspack_multimap: 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}' controller: Rapsys\PackBundle\Controller\MapController::multimap methods: GET -rapsys_pack_thumb: +rapsyspack_thumb: path: '/thumb/{hash<[a-zA-Z0-9=_-]+>}/{updated<\d+>}/{path<[a-zA-Z0-9=_-]+>}/{width<\d+>?640}/{height<\d+>?640}.{!_format?jpeg}' controller: Rapsys\PackBundle\Controller\ImageController::thumb methods: GET -- 2.41.0