if / else conditions problem #4675
Unanswered
appsfactory-pl
asked this question in
Q&A
Replies: 1 comment
-
|
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
in example like below:
{% if is_granted("ROLE_USER") %}{% trans_default_domain app.user.translationDomain %}{% else %}{% trans_default_domain "messages" %}{% endif %}
always returns else branch
Beta Was this translation helpful? Give feedback.
All reactions