diff --git a/classes/Kohana/Kostache/Layout.php b/classes/Kohana/Kostache/Layout.php index b80f2ec..d102c6b 100644 --- a/classes/Kohana/Kostache/Layout.php +++ b/classes/Kohana/Kostache/Layout.php @@ -15,11 +15,6 @@ class Kohana_Kostache_Layout extends Kohana_Kostache { */ const CONTENT_PARTIAL = 'content'; - /** - * @var boolean render template in layout? - */ - public $render_layout = TRUE; - /** * @var string layout path */ @@ -27,11 +22,6 @@ class Kohana_Kostache_Layout extends Kohana_Kostache { public function render($class, $template = NULL) { - if ( ! $this->render_layout) - { - return parent::render($class, $template); - } - $this->_engine->setPartials( array( Kostache_Layout::CONTENT_PARTIAL => parent::render($class, $template)