mirror of
https://github.com/kevachat/webapp.git
synced 2025-01-22 04:24:18 +00:00
fix route condition
This commit is contained in:
parent
725bfa28cb
commit
063e9f8e25
@ -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…
x
Reference in New Issue
Block a user