qqq
This commit is contained in:
@@ -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]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user