Skip to content

Commit 4ca6b34

Browse files
committed
small fix on web router
1 parent ef4f093 commit 4ca6b34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/site/routing/Web.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ function ($el) {
9595
}
9696

9797
if (method_exists($controllerClass, 'getRoutePath')) {
98-
$path = call_user_func([$controllerClass, 'getRoutePath']) ?? $path;
98+
$path = $this->getContainer()->call([$controllerClass, 'getRoutePath']) ?? $path;
9999
if (!$this->checkRouteParameters($path)) {
100100
throw new InvalidValueException("'{$path}': Invalid route string", 1);
101101
}

0 commit comments

Comments
 (0)