I have next code in my controller:
$this->view->setVar('someAr', array(
array(
'k'=>'val1'
),
array(
'k'=>'val2'
),
));
in my .volt file (general layout):
{{ someAr[0]['k'] }},{{ someAr[1]['k'] }}
returns val1,val2 (as expected).
But this code returns nothing:
{% for itemt in someAr %}
{{ itemt.k }}
{% endfor %}
What I'm doing wrong?