Skip to content

Commit daeafda

Browse files
committed
clean up
1 parent 8d398cc commit daeafda

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/Processors/RouteProcessor.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,7 @@ protected function processRoute(Route $route)
8484
$routeHeaders[] = $this->authentication->toArray();
8585
}
8686

87-
$uri = Str::of($route->uri())
88-
->after('/')
89-
->replaceMatches('/{([[:alnum:]]+)}/', ':$1')
90-
->prepend($route->getPrefix(), '/');
87+
$uri = Str::of($route->uri())->replaceMatches('/{([[:alnum:]]+)}/', ':$1');
9188

9289
// if (!$uri->toString()) {
9390
// return [];

0 commit comments

Comments
 (0)