From 435a053cfee0f6eed4f52921f2dd47ae7e327301 Mon Sep 17 00:00:00 2001 From: Marc Ducobu Date: Wed, 12 Nov 2014 15:30:36 +0100 Subject: [PATCH] Adding locale selection --- Resources/config/routing.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Resources/config/routing.yml b/Resources/config/routing.yml index 7c280f259..de3b5b7af 100644 --- a/Resources/config/routing.yml +++ b/Resources/config/routing.yml @@ -1,20 +1,20 @@ cl_custom_fields_customfieldsgroup: resource: "@ChillCustomFieldsBundle/Resources/config/routing/customfieldsgroup.yml" - prefix: /admin/customfieldsgroup + prefix: {_locale}/admin/customfieldsgroup cl_custom_fields_blopentity2: resource: "@ChillCustomFieldsBundle/Resources/config/routing/blopentity2.yml" - prefix: /blopentity2 + prefix: {_locale}/blopentity2 cl_custom_fields_adress: resource: "@ChillCustomFieldsBundle/Resources/config/routing/adress.yml" - prefix: /adress + prefix: {_locale}/adress cl_custom_fields_customfield: resource: "@ChillCustomFieldsBundle/Resources/config/routing/customfield.yml" - prefix: /admin/customfield + prefix: {_locale}/admin/customfield cl_custom_fields_blopentity: resource: "@ChillCustomFieldsBundle/Resources/config/routing/blopentity.yml" - prefix: / + prefix: {_locale}/