Hi, could somebody please tell me what am I doing wrong in this method ?
public function indexAction()
{
$this->view->render('signin','register', ['msg' => 'error' ]);
}
And in a view I try to output it
{% if msg is defined %}
{{msg}}
{% endif %}
And I don't get anything in the output. In DI I use \Phalcon\Mvc\View() for the view. What can be causing a problem?