From 3f931c308d6c89cca26f3f417e824483068dcf63 Mon Sep 17 00:00:00 2001 From: pedrod Date: Fri, 29 Sep 2023 18:40:56 +0000 Subject: [PATCH] poster --- module/PageBundle/Resources/config/router.config.php | 2 +- module/PageBundle/Resources/views/page/page/poster.twig | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 module/PageBundle/Resources/views/page/page/poster.twig diff --git a/module/PageBundle/Resources/config/router.config.php b/module/PageBundle/Resources/config/router.config.php index 82d085ba22..a165f0acfb 100644 --- a/module/PageBundle/Resources/config/router.config.php +++ b/module/PageBundle/Resources/config/router.config.php @@ -124,7 +124,7 @@ 'page' => array( 'type' => 'Laminas\Router\Http\Segment', 'options' => array( - 'route' => '[/:language]/page[/parent/:parent][/name/:name][/:action[/:poster_name]][/]', + 'route' => '[/:language]/page[/parent/:parent][/:name][/:action[/:poster_name]][/]', 'constraints' => array( 'parent' => '[a-zA-Z0-9_-]*', 'name' => '[a-zA-Z0-9_-]*', diff --git a/module/PageBundle/Resources/views/page/page/poster.twig b/module/PageBundle/Resources/views/page/page/poster.twig new file mode 100644 index 0000000000..f3e365813b --- /dev/null +++ b/module/PageBundle/Resources/views/page/page/poster.twig @@ -0,0 +1 @@ +{{ data|raw }}