Skip to content

Commit

Permalink
Fix return string (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ange7 authored Sep 3, 2021
1 parent 1cb51b6 commit 8b9e086
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Helpers/MenuHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ public static function displayMenu(string $slug): string
return static::getTree($items);
});

return view('laravel-nova-menu::front/menu', [
return (string) view('laravel-nova-menu::front/menu', [
'menu' => $menu,
'tree' => $tree,
]);
Expand Down

0 comments on commit 8b9e086

Please sign in to comment.