router tweak

This commit is contained in:
Nick Yeoman 2024-09-17 22:21:02 -07:00
parent 77b60d34f6
commit 7cd3071905

View File

@ -85,7 +85,7 @@ class Router {
if (strpos($keyParams[$i], '{') !== false) {
$keyParams[$i] = substr($keyParams[$i], 1, -1);
$this->parameters[$keyParams[$i]] = $pathParams[$i];
return $this->routes[$key]['file'];
return $this->routes[$key][$this->requestType];
}
}
}