From 72aa24ac4e6719f4589d25ebafe110d9ffed3363 Mon Sep 17 00:00:00 2001 From: Ilya Antipenko Date: Sun, 14 Jan 2018 23:47:03 +0200 Subject: [PATCH] Fix FormPass on using namespaced syntax (#23) --- DependencyInjection/Compiler/FormPass.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DependencyInjection/Compiler/FormPass.php b/DependencyInjection/Compiler/FormPass.php index 863d51a5..373e34cd 100644 --- a/DependencyInjection/Compiler/FormPass.php +++ b/DependencyInjection/Compiler/FormPass.php @@ -15,7 +15,7 @@ public function process(ContainerBuilder $container) $resources = $container->getParameter('twig.form.resources'); foreach (array('div', 'jquery', 'stylesheet') as $template) { - $resources[] = 'SHFormBundle:Form:' . $template . '_layout.html.twig'; + $resources[] = '@SHForm/Form/' . $template . '_layout.html.twig'; } $container->setParameter('twig.form.resources', $resources);