I'm trying to use the short syntax when adding routes inside a router group. The router matches the route properly but the controller name and action name come back as null.
Do router groups not support the same short syntax as the router?
class Routes extends Phalcon\Mvc\Router\Group
{
public function initialize()
{
$this->add('/posts', 'Post::index');
}
}
$router->mount(new Routes);
$router->handle();
var_dump( $router->getControllerName() );