diff --git a/DependencyInjection/ZikulaCoreInstallerExtension.php b/DependencyInjection/ZikulaCoreInstallerExtension.php index ffd3db7..d63cb1e 100644 --- a/DependencyInjection/ZikulaCoreInstallerExtension.php +++ b/DependencyInjection/ZikulaCoreInstallerExtension.php @@ -27,5 +27,9 @@ public function load(array $configs, ContainerBuilder $container) { $loader = new YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); $loader->load('services.yaml'); + + $this->addAnnotatedClassesToCompile([ + 'Zikula\\Bundle\\CoreInstallerBundle\\Controller\\', + ]); } }