Skip to content

Commit 315f55b

Browse files
authored
docs: update description for the (:num) placeholder in routes (#9588)
1 parent 56544d0 commit 315f55b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

user_guide_src/source/incoming/routing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ Placeholders Description
177177
============ ===========================================================================================================
178178
(:any) will match all characters from that point to the end of the URI. This may include multiple URI segments.
179179
(:segment) will match any character except for a forward slash (``/``) restricting the result to a single segment.
180-
(:num) will match any integer.
180+
(:num) will match any positive integer.
181181
(:alpha) will match any string of alphabetic characters
182182
(:alphanum) will match any string of alphabetic characters or integers, or any combination of the two.
183183
(:hash) is the same as ``(:segment)``, but can be used to easily see which routes use hashed ids.

0 commit comments

Comments
 (0)