|
@@ -18,7 +18,7 @@
|
|
|
</li>
|
|
|
<li class="nav-item">
|
|
|
<a class="nav-link
|
|
|
- {% if app.request.attributes.get('_route') == 'app_page_show' %}active{% endif %}"
|
|
|
+ {% if app.request.attributes.get('_route') == 'app_page_show' and app.request.attributes.get('_route_params')['name'] == 'about' %}active{% endif %}"
|
|
|
href="{{path('app_page_show', {'name': 'about'}) }}">A propos</a>
|
|
|
</li>
|
|
|
</ul>
|
|
@@ -63,7 +63,7 @@
|
|
|
{% endif %}
|
|
|
<li class="nav-item">
|
|
|
<a class="nav-link
|
|
|
- {% if app.request.attributes.get('_route') == 'app_page_show' %}active{% endif %}"
|
|
|
+ {% if app.request.attributes.get('_route') == 'app_page_show' and app.request.attributes.get('_route_params')['name'] == 'about' %}active{% endif %}"
|
|
|
href="{{path('app_page_show', {'name': 'about'}) }}">A propos</a>
|
|
|
</li>
|
|
|
</ul>
|