From c7eccc88f8cc41c2c2117846bdcca7c71576a777 Mon Sep 17 00:00:00 2001 From: Jeremy Bush Date: Wed, 31 Oct 2012 21:35:14 -0500 Subject: [PATCH] Pass class and template to parent if render layout is off --- classes/Kohana/Kostache/Layout.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/Kohana/Kostache/Layout.php b/classes/Kohana/Kostache/Layout.php index cf67bec..b80f2ec 100644 --- a/classes/Kohana/Kostache/Layout.php +++ b/classes/Kohana/Kostache/Layout.php @@ -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(