Hi, probably i found bug, but i wold like to be sure.
in my library i create function:
public function getTemplate($templateName, $params) {
$parameters = array_merge(array('baseUri' => $this->request->getHttpHost()), $params);
$simpleView = new \Phalcon\Mvc\View\Simple();
$simpleView->setViewsDir($this->view->getViewsDir());
return = $simpleView->render('email/'.$templateName.'.volt', $parameters);
}
and i got error:
View /var/www/html/apibase.loc/app/modules/admin/views/email/resetPass.volt was not found in the views directory
under this path is file (opened via vim), so i don't know what can be wrong, can anybody check this?
Phalcon version 3.0.3