From 32b12fa0f2f8b784e65f9f4bfdaa8de624b599a3 Mon Sep 17 00:00:00 2001 From: Mikhail Shabarov <61410877+mshabarov@users.noreply.github.com> Date: Tue, 8 Apr 2025 14:12:37 +0300 Subject: [PATCH] chore: Fix misspelling in route templates Fixes https://github.com/vaadin/docs/issues/4233 --- articles/building-apps/views/pass-data/route-templates.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/articles/building-apps/views/pass-data/route-templates.adoc b/articles/building-apps/views/pass-data/route-templates.adoc index b33c3f7dc4..beab31ce35 100644 --- a/articles/building-apps/views/pass-data/route-templates.adoc +++ b/articles/building-apps/views/pass-data/route-templates.adoc @@ -66,7 +66,7 @@ public class CustomerView extends Main implements BeforeEnterObserver { The [classname]`RouteParameters` class defines methods for accessing route parameter values as `String`, `Integer`, or `Long`. They all return an `Optional`. -In the example above, both `customerId` and `tab` are required, so you can assume that those route parameter values are never empty. If you try to navigate to `/customer` or `/customer/cu12345`, the router returns a `404 Not Found` error. +In the example above, both `customerId` and `action` are required, so you can assume that those route parameter values are never empty. If you try to navigate to `/customer` or `/customer/cu12345`, the router returns a `404 Not Found` error. == Optional Route Parameters