diff --git a/src/DependencyInjection/EasyAdminExtension.php b/src/DependencyInjection/EasyAdminExtension.php index fb11f2b743..04793bc64a 100644 --- a/src/DependencyInjection/EasyAdminExtension.php +++ b/src/DependencyInjection/EasyAdminExtension.php @@ -55,7 +55,7 @@ public function prepend(ContainerBuilder $builder): void $builder->prependExtensionConfig('twig', [ 'paths' => is_dir($bundleTemplatesOverrideDir) ? [ - 'templates/bundles/EasyAdminBundle/' => null, + 'templates/bundles/EasyAdminBundle/' => 'ea', \dirname(__DIR__).'/../templates/' => 'ea', ] : [