Hello. Installed Phalcon 3.0.3 on Ubuntu 16.04 with php7. But the view of the file is not displayed, only the layout
class Module implements ModuleDefinitionInterface
{
public function registerServices(DiInterface $di)
{
/**
* Setting up the view component
*/
$di->setShared('view', function () {
$view = new View();
$view->setViewsDir(__DIR__ . '/view/main/');
$view->setLayoutsDir('../layout/');
$view->setLayout('index');
return $view;
});
}
}