Browse Source

fix route condition

main
ghost 6 months ago
parent
commit
063e9f8e25
  1. 2
      templates/default/module/rooms.html.twig

2
templates/default/module/rooms.html.twig

@ -23,7 +23,7 @@ @@ -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>

Loading…
Cancel
Save