diff --git a/app/library/App/Bootstrap/RouteBootstrap.php b/app/library/App/Bootstrap/RouteBootstrap.php index f40e19a..486dd36 100755 --- a/app/library/App/Bootstrap/RouteBootstrap.php +++ b/app/library/App/Bootstrap/RouteBootstrap.php @@ -45,7 +45,11 @@ class RouteBootstrap implements BootstrapInterface /** @var \Phalcon\Mvc\View\Simple $view */ $view = $api->di->get(Services::VIEW); - return $view->render('general/test'); + $msg = "testing fine"; + + return $view->render('general/test', [ + 'var1' => $msg + ]); }); } } \ No newline at end of file diff --git a/app/views/general/test.phtml b/app/views/general/test.phtml index 5daf184..0e48abe 100644 --- a/app/views/general/test.phtml +++ b/app/views/general/test.phtml @@ -43,7 +43,7 @@ -

It is testing.

+

It is .

\ No newline at end of file -- libgit2 0.21.4