Skip to content

Commit 2f49124

Browse files
committed
minor #17521 Adding link to Kernel configuration (ThomasLandauer)
This PR was squashed before being merged into the 5.4 branch. Discussion ---------- Adding link to Kernel configuration Follow-up of #17515 Commits ------- 16fe8bd Adding link to Kernel configuration
2 parents 21ed097 + 16fe8bd commit 2f49124

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

configuration.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ to change these files after package installation
5252
:doc:`Symfony Configuration Reference </reference/index>` or run the
5353
``config:dump-reference`` command.
5454

55+
.. _configuration-formats:
56+
5557
Configuration Formats
5658
~~~~~~~~~~~~~~~~~~~~~
5759

routing.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -183,11 +183,11 @@ the ``BlogController``:
183183
;
184184
};
185185
186-
.. versionadded:: 5.1
186+
.. note::
187187

188-
Starting from Symfony 5.1, by default Symfony only loads the routes defined
189-
in YAML format. If you define routes in XML and/or PHP formats, update the
190-
``src/Kernel.php`` file to add support for the ``.xml`` and ``.php`` file extensions.
188+
By default Symfony only loads the routes defined in YAML format. If you
189+
define routes in XML and/or PHP formats, you need to
190+
:ref:`update the ``src/Kernel.php`` file <configuration-formats>`.
191191

192192
.. _routing-matching-http-methods:
193193

0 commit comments

Comments
 (0)