Refer to @ https://github.com/phalcon/cphalcon/issues/10121
Workaround is to set this two options in your Dispatcher;
$dispatcher->setControllerSuffix("");
$dispatcher->setActionSuffix("");
If you remove suffix from controllers too, remember to also name your controllers properly.
/project/app/controllers/Index.php
Here is full example;
$di->set('dispatcher', function() {
$dp = new \Phalcon\Mvc\Dispatcher();
$dp->setControllerSuffix('');
$dp->setActionSuffix('');
$dp->setDefaultNamespace('App\Controllers');
return $dp;
});
I prefer this method my self, but note there is some function names that you wont be able to use like for example list() funnction in php. But this true for any other php function name that already exists.