Skip to content

Commit

Permalink
Merge pull request #2067 from lukchojnicki/9.0
Browse files Browse the repository at this point in the history
[9.0] Fix rendering column from blade file.
  • Loading branch information
yajra authored Apr 24, 2019
2 parents 0c5764b + dc3a112 commit 16f77dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Utilities/Helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public static function compileContent($content, array $data, $param)
public static function compileBlade($str, $data = [])
{
if (view()->exists($str)) {
return view($str, $data);
return view($str, $data)->render();
}

ob_start() && extract($data, EXTR_SKIP);
Expand Down

0 comments on commit 16f77dc

Please sign in to comment.