From 3f0522022c2945cdf54cf2bae7a3000d8e22b9f6 Mon Sep 17 00:00:00 2001 From: cgoIT Date: Fri, 3 May 2024 13:37:30 +0200 Subject: [PATCH] configure correct templates for controllers --- src/Controller/ContentElement/GalleryCreatorController.php | 2 +- src/Controller/ContentElement/GalleryCreatorNewsController.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Controller/ContentElement/GalleryCreatorController.php b/src/Controller/ContentElement/GalleryCreatorController.php index acff938..50c165b 100644 --- a/src/Controller/ContentElement/GalleryCreatorController.php +++ b/src/Controller/ContentElement/GalleryCreatorController.php @@ -40,7 +40,7 @@ use Twig\Error\SyntaxError; /** - * @ContentElement(GalleryCreatorController::TYPE, category="gallery_creator_elements") + * @ContentElement(GalleryCreatorController::TYPE, category="gallery_creator_elements", template="ce_gallery_creator") */ class GalleryCreatorController extends AbstractGalleryCreatorController { diff --git a/src/Controller/ContentElement/GalleryCreatorNewsController.php b/src/Controller/ContentElement/GalleryCreatorNewsController.php index 47a4948..025854a 100644 --- a/src/Controller/ContentElement/GalleryCreatorNewsController.php +++ b/src/Controller/ContentElement/GalleryCreatorNewsController.php @@ -26,7 +26,7 @@ use Twig\Environment as TwigEnvironment; /** - * @ContentElement(GalleryCreatorNewsController::TYPE, category="gallery_creator_elements") + * @ContentElement(GalleryCreatorNewsController::TYPE, category="gallery_creator_elements", template="ce_gallery_creator_news") */ class GalleryCreatorNewsController extends AbstractGalleryCreatorController {