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,