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 {
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: