Skip to content

Commit a48acc4

Browse files
authored
Update routing.rst
1 parent f18da69 commit a48acc4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

routing.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2002,7 +2002,8 @@ avoids the need for duplicating routes, which also reduces the potential bugs:
20022002
{
20032003
#[Route(path: [
20042004
'en' => '/about-us',
2005-
'nl' => '/over-ons'
2005+
'nl' => '/over-ons',
2006+
'/about-us' // Default path for undefined locales
20062007
], name: 'about_us')]
20072008
public function about(): Response
20082009
{

0 commit comments

Comments
 (0)