]> Raphaƫl G. Git Repositories - userbundle/blobdiff - DependencyInjection/RapsysUserExtension.php
Rename the extension
[userbundle] / DependencyInjection / RapsysUserExtension.php
index 58c86a60321f6539928655574416a48a2da4a295..56e5dabd084594f6478b20d6422f8230883b58b6 100644 (file)
@@ -18,8 +18,8 @@ class RapsysUserExtension extends Extension {
         */
        public function load(array $configs, ContainerBuilder $container) {
                //Load configuration
         */
        public function load(array $configs, ContainerBuilder $container) {
                //Load configuration
-               $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');
 
                //Load configuration
                $configuration = $this->getConfiguration($configs, $container);
 
                //Load configuration
                $configuration = $this->getConfiguration($configs, $container);