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 }}