diff --git a/web/sites/guides/src/content/docs/v4-2-0/basics/routing.mdx b/web/sites/guides/src/content/docs/v4-2-0/basics/routing.mdx index 6ac720127d..bed010871f 100644 --- a/web/sites/guides/src/content/docs/v4-2-0/basics/routing.mdx +++ b/web/sites/guides/src/content/docs/v4-2-0/basics/routing.mdx @@ -145,6 +145,10 @@ mapper() With the constraint, `/posts/2026/04` matches and fills `params.year="2026"`, `params.month="04"`. `/posts/foo/bar` does not match — the router moves on to the next route. Without the constraint, `/posts/foo/bar` would match and `params.year="foo"`. + + ## Route helpers Every route with a `name` is reachable by name from anywhere in your app. The helpers take the name, resolve it to a URL, and fill in placeholders from named arguments.