]> Raphaƫl G. Git Repositories - airbundle/blobdiff - DependencyInjection/RapsysAirExtension.php
Fix config directory path
[airbundle] / DependencyInjection / RapsysAirExtension.php
index 5a2bdfff5d15169adcc1443cbedb4faa3101f4ca..8866181c7dea013165055b78dd14d7aa7a9b3721 100644 (file)
@@ -17,8 +17,8 @@ class RapsysAirExtension extends Extension {
         * {@inheritdoc}
         */
        public function load(array $configs, ContainerBuilder $container) {
-               $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
-               $loader->load('services.yml');
+               $loader = new Loader\YamlFileLoader($container, new FileLocator('config/packages'));
+               $loader->load($this->getAlias().'.yaml');
 
                $configuration = new Configuration();
                $config = $this->processConfiguration($configuration, $configs);