diff --git a/src/Kunstmaan/AdminListBundle/Resources/config/routing.yml b/src/Kunstmaan/AdminListBundle/Resources/config/routing.yml index 8499fbdccc..38ad5a6cc6 100644 --- a/src/Kunstmaan/AdminListBundle/Resources/config/routing.yml +++ b/src/Kunstmaan/AdminListBundle/Resources/config/routing.yml @@ -1,4 +1,4 @@ kunstmaan_entity_lock_check: resource: '@KunstmaanAdminListBundle/Controller/EntityLockCheckController.php' type: annotation - prefix: /admin/entity/lock \ No newline at end of file + prefix: /%kunstmaan_admin.admin_prefix%/entity/lock diff --git a/src/Kunstmaan/CacheBundle/Resources/config/routing.yml b/src/Kunstmaan/CacheBundle/Resources/config/routing.yml index 880811e977..cfa58e471b 100644 --- a/src/Kunstmaan/CacheBundle/Resources/config/routing.yml +++ b/src/Kunstmaan/CacheBundle/Resources/config/routing.yml @@ -2,4 +2,4 @@ kunstmaancachebundle_varnish: resource: "@KunstmaanCacheBundle/Controller/VarnishController.php" type: annotation - prefix: /admin \ No newline at end of file + prefix: /%kunstmaan_admin.admin_prefix% diff --git a/src/Kunstmaan/ConfigBundle/Resources/config/routing.yml b/src/Kunstmaan/ConfigBundle/Resources/config/routing.yml index ab4b26c130..d2ccd50d0b 100644 --- a/src/Kunstmaan/ConfigBundle/Resources/config/routing.yml +++ b/src/Kunstmaan/ConfigBundle/Resources/config/routing.yml @@ -1,5 +1,4 @@ kunstmaanconfigbundle_default: - path: /admin/settings/config/{internalName} + path: /%kunstmaan_admin.admin_prefix%/settings/config/{internalName} defaults: _controller: kunstmaan_config.controller.config:indexAction - diff --git a/src/Kunstmaan/GeneratorBundle/Resources/SensioGeneratorBundle/skeleton/article/Resources/config/routing_partial.yml b/src/Kunstmaan/GeneratorBundle/Resources/SensioGeneratorBundle/skeleton/article/Resources/config/routing_partial.yml index 9326385510..68ab109c01 100644 --- a/src/Kunstmaan/GeneratorBundle/Resources/SensioGeneratorBundle/skeleton/article/Resources/config/routing_partial.yml +++ b/src/Kunstmaan/GeneratorBundle/Resources/SensioGeneratorBundle/skeleton/article/Resources/config/routing_partial.yml @@ -2,6 +2,6 @@ {{ bundle.getName()|lower }}_{{ entity_class|lower }}{{ type|lower }}_admin_list: resource: '@{{ bundle.getName() }}/Controller/{{ entity_class }}{{ type }}AdminListController.php' type: annotation - prefix: /{_locale}/admin/{{ entity_class|lower }}{{ type|lower }}/ + prefix: /{_locale}/%kunstmaan_admin.admin_prefix%/{{ entity_class|lower }}{{ type|lower }}/ requirements: _locale: "%requiredlocales%" diff --git a/src/Kunstmaan/PagePartBundle/Resources/config/routing.yml b/src/Kunstmaan/PagePartBundle/Resources/config/routing.yml index 20d200e3e3..69f4843b81 100644 --- a/src/Kunstmaan/PagePartBundle/Resources/config/routing.yml +++ b/src/Kunstmaan/PagePartBundle/Resources/config/routing.yml @@ -1,5 +1,5 @@ KunstmaanMediaBundle_pagepartadmin: resource: '@KunstmaanPagePartBundle/Controller/PagePartAdminController.php' type: annotation - prefix: /admin + prefix: /%kunstmaan_admin.admin_prefix%