mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
setting new path for config files
This commit is contained in:
parent
9c1169644f
commit
e517c72194
@ -100,7 +100,7 @@ class ChillMainExtension extends Extension implements PrependExtensionInterface,
|
||||
array()
|
||||
);
|
||||
|
||||
$loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
|
||||
$loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../config'));
|
||||
$loader->load('services.yml');
|
||||
$loader->load('services/logger.yml');
|
||||
$loader->load('services/repositories.yml');
|
||||
@ -180,7 +180,7 @@ class ChillMainExtension extends Extension implements PrependExtensionInterface,
|
||||
$container->prependExtensionConfig('chill_main', array(
|
||||
'routing' => array(
|
||||
'resources' => array(
|
||||
'@ChillMainBundle/Resources/config/routing.yml'
|
||||
'@ChillMainBundle/config/routing.yml'
|
||||
)
|
||||
|
||||
)
|
||||
|
@ -1,5 +1,5 @@
|
||||
hello_bundle:
|
||||
resource: "@ChillMainBundle/Resources/config/routing.yml"
|
||||
resource: "@ChillMainBundle/config/routing.yml"
|
||||
|
||||
chill_main_dummy_0:
|
||||
path: /dummy
|
||||
|
@ -1,33 +1,33 @@
|
||||
chill_main_admin_permissionsgroup:
|
||||
resource: "@ChillMainBundle/Resources/config/routing/permissionsgroup.yml"
|
||||
resource: "@ChillMainBundle/config/routing/permissionsgroup.yml"
|
||||
prefix: "{_locale}/admin/permissionsgroup"
|
||||
|
||||
chill_main_admin_user:
|
||||
resource: "@ChillMainBundle/Resources/config/routing/user.yml"
|
||||
resource: "@ChillMainBundle/config/routing/user.yml"
|
||||
prefix: "{_locale}/admin/user"
|
||||
|
||||
chill_main_admin_scope:
|
||||
resource: "@ChillMainBundle/Resources/config/routing/scope.yml"
|
||||
resource: "@ChillMainBundle/config/routing/scope.yml"
|
||||
prefix: "{_locale}/admin/scope"
|
||||
|
||||
chill_main_admin:
|
||||
resource: "@ChillMainBundle/Resources/config/routing/center.yml"
|
||||
resource: "@ChillMainBundle/config/routing/center.yml"
|
||||
prefix: "{_locale}/admin/center"
|
||||
|
||||
chill_main_exports:
|
||||
resource: "@ChillMainBundle/Resources/config/routing/exports.yml"
|
||||
resource: "@ChillMainBundle/config/routing/exports.yml"
|
||||
prefix: "{_locale}/exports"
|
||||
|
||||
chill_postal_code:
|
||||
resource: "@ChillMainBundle/Resources/config/routing/postal-code.yml"
|
||||
resource: "@ChillMainBundle/config/routing/postal-code.yml"
|
||||
prefix: "{_locale}/postal-code"
|
||||
|
||||
chill_password:
|
||||
resource: "@ChillMainBundle/Resources/config/routing/password.yml"
|
||||
resource: "@ChillMainBundle/config/routing/password.yml"
|
||||
prefix: "{_locale}/password"
|
||||
|
||||
chill_password_recover:
|
||||
resource: "@ChillMainBundle/Resources/config/routing/password_recover.yml"
|
||||
resource: "@ChillMainBundle/config/routing/password_recover.yml"
|
||||
prefix: "public/{_locale}/password"
|
||||
|
||||
root:
|
||||
|
@ -2,7 +2,7 @@ services:
|
||||
|
||||
Chill\MainBundle\Controller\:
|
||||
autowire: true
|
||||
resource: '../../../Controller'
|
||||
resource: '../../Controller'
|
||||
tags: ['controller.service_arguments']
|
||||
|
||||
Chill\MainBundle\Controller\PasswordController:
|
||||
|
@ -1,4 +1,4 @@
|
||||
services:
|
||||
Chill\MainBundle\DataFixtures\ORM\:
|
||||
resource: ../../../DataFixtures/ORM
|
||||
resource: ../../DataFixtures/ORM
|
||||
tags: [ 'doctrine.fixture.orm' ]
|
||||
|
Loading…
x
Reference in New Issue
Block a user