diff --git a/src/MultilingualRegistrar.php b/src/MultilingualRegistrar.php index fff1e6e..2fa142c 100644 --- a/src/MultilingualRegistrar.php +++ b/src/MultilingualRegistrar.php @@ -204,6 +204,10 @@ protected function finalizeRoute(Route $route, string $key, string $locale, arra $route->middleware($middleware); } + if ($route->uri === '') { + $route->setUri('/'); + } + data_set($route, 'action.as', $this->generateNameForLocaleFromOptions( $locale, $key,