diff --git a/bundle/DependencyInjection/Compiler/TwigThemePass.php b/bundle/DependencyInjection/Compiler/TwigThemePass.php index 5691bbe..a5857a7 100644 --- a/bundle/DependencyInjection/Compiler/TwigThemePass.php +++ b/bundle/DependencyInjection/Compiler/TwigThemePass.php @@ -35,10 +35,7 @@ public function process(ContainerBuilder $container) (new Filesystem())->mkdir($globalViewsDir); } $themesPathMap = [ - '_override' => array_merge( - [$globalViewsDir], - $container->getParameter('ezdesign.templates_override_paths') - ), + '_override' => $container->getParameter('ezdesign.templates_override_paths'), ]; $finder = new Finder(); // Look for themes in bundles.