mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
move config yaml files
This commit is contained in:
parent
e34afe1ee6
commit
d3f7e9736b
@ -24,14 +24,14 @@ class ChillAMLIBudgetExtension extends Extension implements PrependExtensionInte
|
|||||||
$configuration = new Configuration();
|
$configuration = new Configuration();
|
||||||
$config = $this->processConfiguration($configuration, $configs);
|
$config = $this->processConfiguration($configuration, $configs);
|
||||||
|
|
||||||
$loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
|
$loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../config'));
|
||||||
$loader->load('services/config.yml');
|
$loader->load('services/config.yaml');
|
||||||
$loader->load('services/form.yml');
|
$loader->load('services/form.yaml');
|
||||||
$loader->load('services/security.yml');
|
$loader->load('services/security.yaml');
|
||||||
$loader->load('services/controller.yml');
|
$loader->load('services/controller.yaml');
|
||||||
$loader->load('services/templating.yml');
|
$loader->load('services/templating.yaml');
|
||||||
$loader->load('services/menu.yml');
|
$loader->load('services/menu.yaml');
|
||||||
$loader->load('services/calculator.yml');
|
$loader->load('services/calculator.yaml');
|
||||||
|
|
||||||
$this->storeConfig('resources', $config, $container);
|
$this->storeConfig('resources', $config, $container);
|
||||||
$this->storeConfig('charges', $config, $container);
|
$this->storeConfig('charges', $config, $container);
|
||||||
@ -69,7 +69,7 @@ class ChillAMLIBudgetExtension extends Extension implements PrependExtensionInte
|
|||||||
$container->prependExtensionConfig('chill_main', array(
|
$container->prependExtensionConfig('chill_main', array(
|
||||||
'routing' => array(
|
'routing' => array(
|
||||||
'resources' => array(
|
'resources' => array(
|
||||||
'@ChillAMLIBudgetBundle/Resources/config/routing.yml'
|
'@ChillAMLIBudgetBundle/config/routing.yaml'
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
));
|
));
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
services:
|
services:
|
||||||
Chill\AMLI\BudgetBundle\Controller\:
|
Chill\AMLI\BudgetBundle\Controller\:
|
||||||
autowire: true
|
autowire: true
|
||||||
resource: '../../../Controller'
|
resource: '../../Controller'
|
||||||
tags: ['controller.service_arguments']
|
tags: ['controller.service_arguments']
|
Loading…
x
Reference in New Issue
Block a user