Skip to content

Commit 4c076e8

Browse files
Added twig/blade comment
1 parent 3525f40 commit 4c076e8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/overview.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ Besides these, you can also simply use the menus in Blade templates and render t
3232

3333
```blade
3434
<div class="menu">
35+
{-- Iterate through the menu items --}
3536
@foreach($menu->items as $item)
3637
@if($item->isAllowed())
3738
<div class="menu-item">
@@ -48,6 +49,7 @@ Besides these, you can also simply use the menus in Blade templates and render t
4849

4950
```twig
5051
<div class="menu">
52+
{# Iterate through the menu items #}
5153
{% for item in menu.items %}
5254
{% if item.isAllowed() %}
5355
<div class="menu-item">

0 commit comments

Comments
 (0)