Closed
Description
Hi all)
I'm using layouts and modules structure
in one module feed IndexController in same logic I'm using to render in view
$view = $this->view;
$view->disableLevel(array(
\Phalcon\Mvc\View::LEVEL_LAYOUT => true,
\Phalcon\Mvc\View::LEVEL_MAIN_LAYOUT => true
));
$view->setRenderLevel(\Phalcon\Mvc\View::LEVEL_ACTION_VIEW);
echo $view->render('curation', 'index', array('render' => 'action'));
I'm also seeing 2 layouts but if I disable the view in curation controller and open it can't see layout only view
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.