Configuração de roteamento do CakePHP para aplicativo multi-tenant

$validTenant = '[a-z0-9-]+';
Router::connect('/a/:tenant', array('controller' => 'home'), array('tenant' => $validTenant));
Router::connect('/a/:tenant/:controller', array(), array('tenant' => $validTenant));
Router::connect('/a/:tenant/:controller/:action/*', array(), array('tenant' => $validTenant));