We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c1f379 commit 1d0e6a7Copy full SHA for 1d0e6a7
templates/default/_flash_messages.html.twig
@@ -14,7 +14,7 @@
14
TIP: With FOSHttpCache you can also adapt this to make it cache safe:
15
https://foshttpcachebundle.readthedocs.io/en/latest/features/helpers/flash-message.html
16
#}
17
-{% if app.request.method == 'POST' %}
+{% if app.request.hasPreviousSession %}
18
<div class="messages">
19
{% for type, messages in app.flashes %}
20
{% for message in messages %}
0 commit comments