I’ve created a class which extends Phalcon\Mvc\Router\Group
and attempted to add the following route:
$this->add('/latest/{id}', array(
'action' => 'index',
))->setName('talks-latest');
but the following exception is thrown:
PhalconException: Action 'latest' was not found on handler 'talks'
Yet the documentation says that should work. Any ideas?