We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef4f093 commit 4ca6b34Copy full SHA for 4ca6b34
app/site/routing/Web.php
@@ -95,7 +95,7 @@ function ($el) {
95
}
96
97
if (method_exists($controllerClass, 'getRoutePath')) {
98
- $path = call_user_func([$controllerClass, 'getRoutePath']) ?? $path;
+ $path = $this->getContainer()->call([$controllerClass, 'getRoutePath']) ?? $path;
99
if (!$this->checkRouteParameters($path)) {
100
throw new InvalidValueException("'{$path}': Invalid route string", 1);
101
0 commit comments