Skip to content

Commit c7d3e7c

Browse files
committed
docs: add note for (:any)
1 parent af80d7b commit c7d3e7c

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

user_guide_src/source/incoming/routing.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,9 @@ Controller should take into account the maximum parameters:
137137

138138
.. literalinclude:: routing/011.php
139139

140+
.. important:: Do not put any placeholder after ``(:any)``. Because the number of
141+
parameters passed to the controller method may change.
142+
140143
If matching multiple segments is not the intended behavior, ``(:segment)`` should be used when defining the
141144
routes. With the examples URLs from above:
142145

0 commit comments

Comments
 (0)