Skip to content

Commit 8d398cc

Browse files
authored
append slash
1 parent cf5fe3e commit 8d398cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Processors/RouteProcessor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ protected function processRoute(Route $route)
8787
$uri = Str::of($route->uri())
8888
->after('/')
8989
->replaceMatches('/{([[:alnum:]]+)}/', ':$1')
90-
->prepend($route->getPrefix());
90+
->prepend($route->getPrefix(), '/');
9191

9292
// if (!$uri->toString()) {
9393
// return [];

0 commit comments

Comments
 (0)