diff --git a/routing.rst b/routing.rst index 56eeefcd7fd..13873d7349a 100644 --- a/routing.rst +++ b/routing.rst @@ -873,12 +873,13 @@ Special Parameters In addition to your own parameters, routes can include any of the following special parameters created by Symfony: +.. _routing-format-parameter: +.. _routing-locale-parameter: + ``_controller`` This parameter is used to determine which controller and action is executed when the route is matched. -.. _routing-format-parameter: - ``_format`` The matched value is used to set the "request format" of the ``Request`` object. This is used for such things as setting the ``Content-Type`` of the response @@ -888,8 +889,6 @@ special parameters created by Symfony: Used to set the fragment identifier, which is the optional last part of a URL that starts with a ``#`` character and is used to identify a portion of a document. -.. _routing-locale-parameter: - ``_locale`` Used to set the :ref:`locale ` on the request.