Micro notFound

I've set up a Micro app to function as a CMS. So there will be potentially infinite possible routes, that I want to all direct to my Index handler.

I've set up my index.php file like so:

$App = new \Phalcon\Mvc\Micro;
    $Index = new \Handler\Index();


When I go to www.site.com/dev/, which is the homepage, everything works fine. handle() gets called. However, when I go to a sub-page like www.site.com/dev/blah, I get Fatal error: Uncaught Phalcon\Mvc\Micro\Exception: Matched route doesn't have an associated handler. Well I haven't set up any routes, so everything should be going to the notFound handler.

What am I missing?

edited 4d ago
    function () use ($app) {
        $message = 'This is crazy, but this page was not found!';
        !$app->response->isSent() && $app->response->send();


I think there is some predefined routes. You can clear them: