diff --git a/app/library/App/Bootstrap/RouteBootstrap.php b/app/library/App/Bootstrap/RouteBootstrap.php index 5fca751..c454b01 100755 --- a/app/library/App/Bootstrap/RouteBootstrap.php +++ b/app/library/App/Bootstrap/RouteBootstrap.php @@ -39,5 +39,13 @@ class RouteBootstrap implements BootstrapInterface $view->setVar('documentationPath', $config->hostName . '/export/documentation.json'); return $view->render('general/documentation'); }); + + $api->get('/test.html', function() use ($api) { + + /** @var \Phalcon\Mvc\View\Simple $view */ + $view = $api->di->get(Services::VIEW); + + return $view->render('general/index'); + }); } } \ No newline at end of file diff --git a/app/views/general/test.phtml b/app/views/general/test.phtml new file mode 100644 index 0000000..5daf184 --- /dev/null +++ b/app/views/general/test.phtml @@ -0,0 +1,49 @@ + + + +
+ +