From af1a28513fc66395696fc3f8ce78d27666b0a831 Mon Sep 17 00:00:00 2001 From: Stefan Herndler Date: Tue, 30 Apr 2019 13:31:24 +0200 Subject: [PATCH] #24 - Fix template reference --- DependencyInjection/Compiler/FormCompilerPass.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DependencyInjection/Compiler/FormCompilerPass.php b/DependencyInjection/Compiler/FormCompilerPass.php index 3ab9768..e9f86ba 100644 --- a/DependencyInjection/Compiler/FormCompilerPass.php +++ b/DependencyInjection/Compiler/FormCompilerPass.php @@ -25,8 +25,8 @@ class FormCompilerPass implements CompilerPassInterface public function process(ContainerBuilder $container) { $resources = $container->getParameter('twig.form.resources'); - if (in_array('EoHoneypotBundle:Form:div_layout.html.twig', $resources) === false) { - array_unshift($resources, 'EoHoneypotBundle:Form:div_layout.html.twig'); + if (in_array('@EoHoneypot/Form/div_layout.html.twig', $resources, true) === false) { + array_unshift($resources, '@EoHoneypot/Form/div_layout.html.twig'); $container->setParameter('twig.form.resources', $resources); } }