From 663b7705aef04b0c15ee2fb5fc1b20134f9a5647 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Tue, 4 Nov 2014 22:35:38 +0100 Subject: [PATCH] move routes to /admin zone --- Resources/config/routing.yml | 4 ++-- Tests/Routing/RoutingLoaderTest.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Resources/config/routing.yml b/Resources/config/routing.yml index b12886590..7c280f259 100644 --- a/Resources/config/routing.yml +++ b/Resources/config/routing.yml @@ -1,6 +1,6 @@ cl_custom_fields_customfieldsgroup: resource: "@ChillCustomFieldsBundle/Resources/config/routing/customfieldsgroup.yml" - prefix: /customfieldsgroup + prefix: /admin/customfieldsgroup cl_custom_fields_blopentity2: resource: "@ChillCustomFieldsBundle/Resources/config/routing/blopentity2.yml" @@ -12,7 +12,7 @@ cl_custom_fields_adress: cl_custom_fields_customfield: resource: "@ChillCustomFieldsBundle/Resources/config/routing/customfield.yml" - prefix: /customfield + prefix: /admin/customfield cl_custom_fields_blopentity: resource: "@ChillCustomFieldsBundle/Resources/config/routing/blopentity.yml" diff --git a/Tests/Routing/RoutingLoaderTest.php b/Tests/Routing/RoutingLoaderTest.php index 1a5d4c8fe..b6b48dd4d 100644 --- a/Tests/Routing/RoutingLoaderTest.php +++ b/Tests/Routing/RoutingLoaderTest.php @@ -34,7 +34,7 @@ class RoutingLoaderTest extends WebTestCase { $client = static::createClient(); - $client->request('GET','/customfield/'); + $client->request('GET','/admin/customfield/'); $this->assertEquals( Response::HTTP_OK,