Skip to content

Commit b04bc3a

Browse files
committed
Add new tip to explain usage of --method option for filtering routes
1 parent 3d03555 commit b04bc3a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

routing.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -456,6 +456,10 @@ route details:
456456
Use the ``--show-aliases`` option to show all available aliases for a given
457457
route.
458458

459+
.. tip::
460+
461+
Use the ``--method`` option to filter routes by HTTP method. For example, to only show routes that use the ``GET`` method, add ``--method=GET``
462+
459463
The other command is called ``router:match`` and it shows which route will match
460464
the given URL. It's useful to find out why some URL is not executing the
461465
controller action that you expect:

0 commit comments

Comments
 (0)