Skip to content

Commit 258c48a

Browse files
committed
feat: add support for alt lingo routes
1 parent 5b34927 commit 258c48a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Router.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,7 @@ public static function match(string $allowedMethods, string $pattern, $handler)
183183
'pattern' => $pattern,
184184
'handler' => $handler,
185185
'name' => $routeOptions['name'] ?? '',
186+
'lingo.routes' => $routeOptions['lingo.routes'] ?? [],
186187
'lingo.no_locale_prefix' => $routeOptions['lingo.no_locale_prefix'] ?? false,
187188
];
188189

0 commit comments

Comments
 (0)