diff --git a/src/main/php/web/frontend/Frontend.class.php b/src/main/php/web/frontend/Frontend.class.php index 87025fb..dbc6de7 100755 --- a/src/main/php/web/frontend/Frontend.class.php +++ b/src/main/php/web/frontend/Frontend.class.php @@ -32,9 +32,6 @@ public function __construct($handler, Templates $templates, $base= '') { */ private function handler($verb, $uri) { - // Direct match - if ($this->type->hasMethod($verb)) return [$this->type->getMethod($verb), []]; - // Check methods annotated, e.g. @post foreach ($this->type->getMethods() as $method) { if (!$method->hasAnnotation($verb)) continue;