diff --git a/Route.inc.php b/Route.inc.php index de6256a..efc2f5b 100644 --- a/Route.inc.php +++ b/Route.inc.php @@ -71,9 +71,6 @@ class Route { $pattern = ''; - // REGEX for idenifying Level 1 URI Templates, like /foo/{bar} - $expressionPattern = '/{([a-zA-Z]+)}/'; - // Explode the template into an array of path segments. if ($uriTemplate[0] === '/') { $parts = explode('/', substr($uriTemplate, 1)); diff --git a/Router.inc.php b/Router.inc.php index 19d2b0f..b49c458 100644 --- a/Router.inc.php +++ b/Router.inc.php @@ -57,6 +57,7 @@ class Router { require_once($route->handlerPath); } + // TODO: Need to rethink this plan. May not have a $request yet. return $handler = new $klass($request, $matches); }