Skip to content

Commit

Permalink
Fixed duplicated prefix in route cache
Browse files Browse the repository at this point in the history
  • Loading branch information
chinleung committed May 18, 2022
1 parent c7fc2c8 commit 4717722
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/MultilingualRegistrar.php
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,8 @@ protected function generateRoute(string $key, $handle, string $locale, array $op
->defaults('status', Arr::get($options, 'status', 200))
->defaults('headers', Arr::get($options, 'headers', []));
}

$route->action['prefix'] = null;

return $route;
}
Expand Down

0 comments on commit 4717722

Please sign in to comment.