{% macro getTabs(customer,tabs,twig_path, params) %} {# Check twig path, because he have to end with a / char #} {% set last_char = twig_path|slice(twig_path|length - 1, 1) %} {% if last_char != "/" %} {% set twig_path = twig_path ~ '/' %} {% endif %} {% set current_tab = app.request.get('tab') %} {% set current_route = app.request.get('_route') %} {% set current_route_params = app.request.get('_route_params') %} {#