mirror of
https://github.com/kevachat/webapp.git
synced 2025-01-22 12:34:25 +00:00
fix route condition
This commit is contained in:
parent
725bfa28cb
commit
063e9f8e25
@ -23,7 +23,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
<h2>
|
<h2>
|
||||||
<i>
|
<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 }}
|
{{ 'rooms' | trans }}
|
||||||
{% else %}
|
{% else %}
|
||||||
<a href="{{ path('room_list') }}">{{ 'rooms' | trans }}</a>
|
<a href="{{ path('room_list') }}">{{ 'rooms' | trans }}</a>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user