Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit cb67959

Browse files
committed
Merge branch 'hotfix/276'
Close #276
2 parents 2db114f + 67cfc17 commit cb67959

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/book/cookbook/setting-locale-depending-routing-parameter.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ return [
8989
> ```php
9090
> [
9191
> 'name' => 'home',
92-
> 'path' => '/{locale[a-z]{2}}',
92+
> 'path' => '/{locale:[a-z]{2}}',
9393
> 'middleware' => Application\Action\HomePageAction::class,
9494
> 'allowed_methods' => ['GET'],
9595
> ]

0 commit comments

Comments
 (0)