1
0
Fork 0

remove render_layout, since it is useless now that we have different renderers

This commit is contained in:
Jeremy Bush 2012-10-31 21:39:43 -05:00
parent c7eccc88f8
commit a701055a58
1 changed files with 0 additions and 10 deletions

View File

@ -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)