fix route condition

This commit is contained in:
ghost 2024-05-07 23:44:12 +03:00
parent 725bfa28cb
commit 063e9f8e25

View File

@ -23,7 +23,7 @@
{% endif %}
<h2>
<i>
{% if 'room_index' == request.get('_route') || 'room_list' == request.get('_route') %}
{% if 'room_index' == request.get('_route') or 'room_list' == request.get('_route') %}
{{ 'rooms' | trans }}
{% else %}
<a href="{{ path('room_list') }}">{{ 'rooms' | trans }}</a>