Skip to content

Commit 1d0e6a7

Browse files
authored
Reverted the handling of flash messages
1 parent 9c1f379 commit 1d0e6a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/default/_flash_messages.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
TIP: With FOSHttpCache you can also adapt this to make it cache safe:
1515
https://foshttpcachebundle.readthedocs.io/en/latest/features/helpers/flash-message.html
1616
#}
17-
{% if app.request.method == 'POST' %}
17+
{% if app.request.hasPreviousSession %}
1818
<div class="messages">
1919
{% for type, messages in app.flashes %}
2020
{% for message in messages %}

0 commit comments

Comments
 (0)