From 16fe8bd0cef7bfdcb535e7c0acc517f97e1bea33 Mon Sep 17 00:00:00 2001 From: Thomas Landauer Date: Tue, 6 Dec 2022 16:54:26 +0100 Subject: [PATCH] Adding link to Kernel configuration --- configuration.rst | 2 ++ routing.rst | 8 ++++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/configuration.rst b/configuration.rst index 6d2638008fa..d1ae76084a1 100644 --- a/configuration.rst +++ b/configuration.rst @@ -52,6 +52,8 @@ to change these files after package installation :doc:`Symfony Configuration Reference ` or run the ``config:dump-reference`` command. +.. _configuration-formats: + Configuration Formats ~~~~~~~~~~~~~~~~~~~~~ diff --git a/routing.rst b/routing.rst index 1d72af7bbe5..25ee1c2abe6 100644 --- a/routing.rst +++ b/routing.rst @@ -183,11 +183,11 @@ the ``BlogController``: ; }; -.. versionadded:: 5.1 +.. note:: - Starting from Symfony 5.1, by default Symfony only loads the routes defined - in YAML format. If you define routes in XML and/or PHP formats, update the - ``src/Kernel.php`` file to add support for the ``.xml`` and ``.php`` file extensions. + By default Symfony only loads the routes defined in YAML format. If you + define routes in XML and/or PHP formats, you need to + :ref:`update the ``src/Kernel.php`` file `. .. _routing-matching-http-methods: