From a48acc42a2b1bee74075d78226ab0d77a7348bc5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gerard=20Berengu=C3=A9?= Date: Fri, 13 Sep 2024 10:49:34 +0200 Subject: [PATCH] Update routing.rst --- routing.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/routing.rst b/routing.rst index 57a087b8cfa..cd4c1d09f0f 100644 --- a/routing.rst +++ b/routing.rst @@ -2002,7 +2002,8 @@ avoids the need for duplicating routes, which also reduces the potential bugs: { #[Route(path: [ 'en' => '/about-us', - 'nl' => '/over-ons' + 'nl' => '/over-ons', + '/about-us' // Default path for undefined locales ], name: 'about_us')] public function about(): Response {