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 {