I don't know what you have, you have to get your router configured, something like this:
$di->set('router', function(){
$router = new \Phalcon\Mvc\Router();
$router->removeExtraSlashes(true);
$router->setDefaultController(’welcome’);
$router->setDefaultAction(’index’);
//you can configure your routing like below
$router->add("/",array(
"controller" => "welcome",
"action" => "index"
));
$router->add("/test",array(
"controller" => "something",
"action" => "happen"
));
return $router;
});