From b04bc3a09b64d35fe47e5b74f01023c08584f3a1 Mon Sep 17 00:00:00 2001 From: Santiago San Martin Date: Fri, 14 Mar 2025 18:47:45 -0300 Subject: [PATCH] Add new tip to explain usage of --method option for filtering routes --- routing.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/routing.rst b/routing.rst index 4ab0dce2a82..c5cf5cd7f33 100644 --- a/routing.rst +++ b/routing.rst @@ -456,6 +456,10 @@ route details: Use the ``--show-aliases`` option to show all available aliases for a given route. +.. tip:: + + Use the ``--method`` option to filter routes by HTTP method. For example, to only show routes that use the ``GET`` method, add ``--method=GET`` + 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: