diff --git a/src/Sylius/Bundle/ApiBundle/Resources/config/app/config.yaml b/src/Sylius/Bundle/ApiBundle/Resources/config/app/config.yaml index 587a3739e2c..94c1ef54f6c 100644 --- a/src/Sylius/Bundle/ApiBundle/Resources/config/app/config.yaml +++ b/src/Sylius/Bundle/ApiBundle/Resources/config/app/config.yaml @@ -5,9 +5,9 @@ parameters: env(SYLIUS_API_AUTHORIZATION_HEADER): Authorization sylius.api.authorization_header: "%env(resolve:SYLIUS_API_AUTHORIZATION_HEADER)%" sylius.api.paths_to_hide: - - "/api/v2/admin/catalog-promotion-actions/{id}" - - "/api/v2/admin/catalog-promotion-scopes/{id}" - - "/api/v2/admin/channel-pricings/{id}" + - "%sylius.security.new_api_route%/admin/catalog-promotion-actions/{id}" + - "%sylius.security.new_api_route%/admin/catalog-promotion-scopes/{id}" + - "%sylius.security.new_api_route%/admin/channel-pricings/{id}" sylius.security.new_api_route: "/api/v2" sylius.security.new_api_regex: "^%sylius.security.new_api_route%" sylius.security.new_api_admin_route: "%sylius.security.new_api_route%/admin"