move config yaml files

This commit is contained in:
Tchama 2020-09-06 10:45:17 +02:00
parent e34afe1ee6
commit d3f7e9736b
9 changed files with 10 additions and 10 deletions

View File

@ -24,14 +24,14 @@ class ChillAMLIBudgetExtension extends Extension implements PrependExtensionInte
$configuration = new Configuration();
$config = $this->processConfiguration($configuration, $configs);
$loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
$loader->load('services/config.yml');
$loader->load('services/form.yml');
$loader->load('services/security.yml');
$loader->load('services/controller.yml');
$loader->load('services/templating.yml');
$loader->load('services/menu.yml');
$loader->load('services/calculator.yml');
$loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../config'));
$loader->load('services/config.yaml');
$loader->load('services/form.yaml');
$loader->load('services/security.yaml');
$loader->load('services/controller.yaml');
$loader->load('services/templating.yaml');
$loader->load('services/menu.yaml');
$loader->load('services/calculator.yaml');
$this->storeConfig('resources', $config, $container);
$this->storeConfig('charges', $config, $container);
@ -69,7 +69,7 @@ class ChillAMLIBudgetExtension extends Extension implements PrependExtensionInte
$container->prependExtensionConfig('chill_main', array(
'routing' => array(
'resources' => array(
'@ChillAMLIBudgetBundle/Resources/config/routing.yml'
'@ChillAMLIBudgetBundle/config/routing.yaml'
)
)
));

View File

@ -1,5 +1,5 @@
services:
Chill\AMLI\BudgetBundle\Controller\:
autowire: true
resource: '../../../Controller'
resource: '../../Controller'
tags: ['controller.service_arguments']