From eb7b339fd92ec4c8cf5fe358e1fc24388e02c1cc Mon Sep 17 00:00:00 2001 From: Alexandre Daubois Date: Mon, 2 Oct 2023 10:12:34 +0200 Subject: [PATCH] [FrameworkBundle] Add `--show-aliases` option to `debug:router` command --- routing.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/routing.rst b/routing.rst index 5aa2bf45095..ae7ccdcb6f8 100644 --- a/routing.rst +++ b/routing.rst @@ -462,6 +462,15 @@ route details: | | utf8: true | +-------------+---------------------------------------------------------+ +.. tip:: + + Use the ``--show-aliases`` option to show all available aliases for a given + route. + +.. versionadded:: 6.4 + + The ``--show-aliases`` option was introduced in Symfony 6.4. + The other command is called ``router:match`` and it shows which route will match the given URL. It's useful to find out why some URL is not executing the controller action that you expect: