This commit is contained in:
2021-08-13 15:19:07 +08:00
parent 3198d66753
commit 62145acb8c
11 changed files with 13 additions and 14 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ use Kiri\Kiri;
{
// TODO: Implement setHandler() method.
$router = Kiri::app()->getRouter();
$router->addRoute($this->uri, [$class, $method], $this->method);
$router->addRoute($this->uri, [di($class::class), $method], $this->method);
return $router;
}