This commit is contained in:
2023-08-17 16:15:49 +08:00
parent 78ea525c83
commit 93e2489414
-2
View File
@@ -33,8 +33,6 @@ class Route extends AbstractRequestMethod implements InjectRouteInterface
// TODO: Implement dispatch() method. // TODO: Implement dispatch() method.
$path = '/' . ltrim($this->path, '/'); $path = '/' . ltrim($this->path, '/');
var_dump($path);
Router::addRoute([$this->method], $path, [$class, $method]); Router::addRoute([$this->method], $path, [$class, $method]);
} }
} }