Fix blade @includes.

This commit is contained in:
Taylor Otwell
2012-03-24 22:37:15 -05:00
parent 33cc89a711
commit 9dbbc5848b
2 changed files with 15 additions and 1 deletions

View File

@@ -256,7 +256,7 @@ class Blade {
{
$pattern = static::matcher('include');
return preg_replace($pattern, '$1<?php echo render$2->with(get_defined_vars()); ?>', $value);
return preg_replace($pattern, '$1<?php echo view$2->with(get_defined_vars()); ?>', $value);
}
/**