Browse code

Update controllers to abstract controller changes in Contao 5.x

Benjamin Roth authored on24/10/2023 15:13:30
Showing2 changed files
... ...
@@ -16,7 +16,7 @@ use Contao\ContentModel;
16 16
 use Contao\Controller;
17 17
 use Contao\CoreBundle\Controller\ContentElement\AbstractContentElementController;
18 18
 use Contao\CoreBundle\ServiceAnnotation\ContentElement;
19
-use Contao\FragmentTemplate;
19
+use Contao\CoreBundle\Twig\FragmentTemplate;
20 20
 use Symfony\Component\HttpFoundation\Request;
21 21
 use Symfony\Component\HttpFoundation\Response;
22 22
 use vonRotenberg\ModalBundle\Model\ModalModel;
... ...
@@ -17,7 +17,7 @@ use Contao\Controller;
17 17
 use Contao\CoreBundle\Controller\FrontendModule\AbstractFrontendModuleController;
18 18
 use Contao\CoreBundle\ServiceAnnotation\FrontendModule;
19 19
 use Contao\ModuleModel;
20
-use Contao\FragmentTemplate;
20
+use Contao\CoreBundle\Twig\FragmentTemplate;
21 21
 use Symfony\Component\HttpFoundation\Request;
22 22
 use Symfony\Component\HttpFoundation\Response;
23 23
 use vonRotenberg\ModalBundle\Model\ModalModel;