From cb82f904a73ccf7f89569232e4813d4bab244825 Mon Sep 17 00:00:00 2001 From: mackou <38428205+mackou@users.noreply.github.com> Date: Mon, 16 Apr 2018 23:20:17 +0200 Subject: [PATCH] flex loading files in routes and the route definition without prefix wins over the route definition with a prefix. #9608 see issue #9608 https://github.com/symfony/symfony-docs/issues/9608 --- routing/external_resources.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/routing/external_resources.rst b/routing/external_resources.rst index e24211801bd..119b27d25a4 100644 --- a/routing/external_resources.rst +++ b/routing/external_resources.rst @@ -146,6 +146,7 @@ suppose you want to prefix all application routes with ``/site`` (e.g. The path of each route being loaded from the new routing resource will now be prefixed with the string ``/site``. +When using YAML or XML routing files, you need to group them by prefix in folders. Prefixing the Names of Imported Routes ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~