Pass class and template to parent if render layout is off

This commit is contained in:
Jeremy Bush 2012-10-31 21:35:14 -05:00
parent 8855a0f580
commit c7eccc88f8

View file

@ -29,7 +29,7 @@ class Kohana_Kostache_Layout extends Kohana_Kostache {
{
if ( ! $this->render_layout)
{
return parent::render();
return parent::render($class, $template);
}
$this->_engine->setPartials(