您好?最新版本的phalcon不支持分组吗?(例如前台Home,后台Admin)分组之后的Router该怎么写呢?

我的目录结构: baby |---apps |---admin |---config |---controller |---modules |---views |---home |---config |---controller |---modules |---views How to create my Router? My code:

$di['router'] = function () {

$router = new Router();

$router->add('/:controller/:action/:params', array(
    'module'        => 'home',
    'controller'    => 1,
    'action'        => 2,
    'patams'        => 3
));

$router->add('/admin/:controller/:action/:params', array(
    'module'        => 'admin',
    'controller'    => 1,
    'action'        => 2,
    'params'        => 3
));

return $router;

};

But it is not working, Please help me