Pass class and template to parent if render layout is off
This commit is contained in:
parent
8855a0f580
commit
c7eccc88f8
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue