From: Raphaƫl Gertz Date: Thu, 7 Mar 2024 17:01:22 +0000 (+0100) Subject: Rename pack bundle route alias X-Git-Tag: 0.4.0~10 X-Git-Url: https://git.rapsys.eu/packbundle/commitdiff_plain/09e631c7cacd12e04b1bde6b991dedadfff4d747?hp=5ded2ab01b306f7d8f5168ace047d48fce5d53ab Rename pack bundle route alias --- diff --git a/Util/FacebookUtil.php b/Util/FacebookUtil.php index 8e5377f..91664d1 100644 --- a/Util/FacebookUtil.php +++ b/Util/FacebookUtil.php @@ -122,7 +122,7 @@ class FacebookUtil { //Return image data return [ - 'og:image' => $this->router->generate('rapsys_pack_facebook', ['mtime' => $mtime, 'path' => $pathInfo], UrlGeneratorInterface::ABSOLUTE_URL), + 'og:image' => $this->router->generate('rapsyspack_facebook', ['mtime' => $mtime, 'path' => $pathInfo], UrlGeneratorInterface::ABSOLUTE_URL), 'og:image:alt' => str_replace("\n", ' ', implode(' - ', array_keys($texts))), 'og:image:height' => $height, 'og:image:width' => $width @@ -348,7 +348,7 @@ class FacebookUtil { //Return image data return [ - 'og:image' => $this->router->generate('rapsys_pack_facebook', ['mtime' => stat($path)['mtime'], 'path' => $pathInfo], UrlGeneratorInterface::ABSOLUTE_URL), + 'og:image' => $this->router->generate('rapsyspack_facebook', ['mtime' => stat($path)['mtime'], 'path' => $pathInfo], UrlGeneratorInterface::ABSOLUTE_URL), 'og:image:alt' => str_replace("\n", ' ', implode(' - ', array_keys($texts))), 'og:image:height' => $height, 'og:image:width' => $width