mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2026-04-20 12:59:38 +00:00
send rendering of menu to devoted controller
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
<div class="columns four">
|
||||
<ul class="tab-nav follow-href-path">
|
||||
{% for menu in menu_composer.getRoutesFor('person') %}
|
||||
{% for menu in menu_composer.getRoutesFor(menu) %}
|
||||
<li class="{% spaceless %}
|
||||
{% if menu.route == route_active %}
|
||||
{% if menu.route == activeRouteKey %}
|
||||
active
|
||||
{% endif %}
|
||||
{% endspaceless %} ">
|
||||
<a href="{{ path(menu.route, {'id': person.id}) }}" >{{ menu.label|trans }}</a>
|
||||
<a href="{{ path(menu.route, args) }}" >{{ menu.label|trans }}</a>
|
||||
</li>
|
||||
|
||||
{% endfor %}
|
||||
|
||||
Reference in New Issue
Block a user