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

Commit b831a95

Browse files
authored
fix typo
1 parent 4371c84 commit b831a95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/book/v3/cookbook/setting-locale-without-routing-parameter.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ class SetLocaleMiddleware implements MiddlewareInterface
7171
$path = substr($path, strlen($locale) + 1);
7272

7373
return $handler->handle($request->withUri(
74-
$uri->withPath(path ?: '/')
74+
$uri->withPath($path ?: '/')
7575
));
7676
}
7777
}

0 commit comments

Comments
 (0)