{% set currentPath = path( app.request.attributes.get('_route'), app.request.attributes.get('_route_params') ) %} {% if (currentPath == path('dossier_all')) or (currentPath == path('dossier_planning')) %} {% endif %} {% if (currentPath == path('dossier_all')) or (currentPath == path('dossier_financier')) %} {% endif %} {% if currentPath == path('dossier_all') %} {% endif %}