mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
setting new path for all config yaml files + adding expression-language component
This commit is contained in:
parent
5292f319be
commit
2a5ee00b86
@ -25,17 +25,17 @@ class ChillTaskExtension extends Extension implements PrependExtensionInterface
|
||||
$configuration = new Configuration();
|
||||
$config = $this->processConfiguration($configuration, $configs);
|
||||
|
||||
$loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
|
||||
$loader->load('services/controller.yml');
|
||||
$loader->load('services/security.yml');
|
||||
$loader->load('services/repositories.yml');
|
||||
$loader->load('services/workflow.yml');
|
||||
$loader->load('services/templating.yml');
|
||||
$loader->load('services/menu.yml');
|
||||
$loader->load('services/event.yml');
|
||||
$loader->load('services/timeline.yml');
|
||||
$loader->load('services/fixtures.yml');
|
||||
$loader->load('services/form.yml');
|
||||
$loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../config'));
|
||||
$loader->load('services/controller.yaml');
|
||||
$loader->load('services/security.yaml');
|
||||
$loader->load('services/repositories.yaml');
|
||||
$loader->load('services/workflow.yaml');
|
||||
$loader->load('services/templating.yaml');
|
||||
$loader->load('services/menu.yaml');
|
||||
$loader->load('services/event.yaml');
|
||||
$loader->load('services/timeline.yaml');
|
||||
$loader->load('services/fixtures.yaml');
|
||||
$loader->load('services/form.yaml');
|
||||
}
|
||||
|
||||
public function prepend(ContainerBuilder $container)
|
||||
@ -51,7 +51,7 @@ class ChillTaskExtension extends Extension implements PrependExtensionInterface
|
||||
$container->prependExtensionConfig('chill_main', array(
|
||||
'routing' => array(
|
||||
'resources' => array(
|
||||
'@ChillTaskBundle/Resources/config/routing.yml'
|
||||
'@ChillTaskBundle/config/routes.yaml'
|
||||
)
|
||||
)
|
||||
));
|
||||
|
@ -1,6 +1,6 @@
|
||||
services:
|
||||
Chill\TaskBundle\Controller\:
|
||||
resource: '../../../Controller'
|
||||
resource: '../../Controller'
|
||||
tags: ['controller.service_arguments']
|
||||
|
||||
Chill\TaskBundle\Controller\SingleTaskController:
|
@ -1,4 +1,4 @@
|
||||
services:
|
||||
Chill\TaskBundle\DataFixtures\ORM\:
|
||||
resource: ../../../DataFixtures/ORM
|
||||
resource: ../../DataFixtures/ORM
|
||||
tags: [ 'doctrine.fixture.orm' ]
|
Loading…
x
Reference in New Issue
Block a user