Skip to content

Commit

Permalink
Fixed macros.html.twig
Browse files Browse the repository at this point in the history
Replace item with child in call macro menu_item_content.
  • Loading branch information
SalvoS81 authored Oct 14, 2017
1 parent 6a751fa commit 58bc3a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Resources/views/layout/macros.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
{% else %}
<li class="{{ child.isActive ? 'active':'' }}" id="{{ child.identifier }}">
<a href="{{ '/' in child.route ? child.route : path(child.route, child.routeArgs) }}">
{{ menu.menu_item_content(item, '') }}
{{ menu.menu_item_content(child, '') }}
</a>
</li>
{% endif %}
Expand Down

0 comments on commit 58bc3a9

Please sign in to comment.