Skip to content

Commit 08f9501

Browse files
committed
Minor reword
1 parent 482d7ad commit 08f9501

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

controller.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -539,14 +539,14 @@ read any flash messages from the session using ``app.flashes()``:
539539

540540
{# app/Resources/views/base.html.twig #}
541541

542-
{# you can read and display just one flash message type... #}
542+
{# read and display just one flash message type #}
543543
{% for message in app.flashes('notice') %}
544544
<div class="flash-notice">
545545
{{ message }}
546546
</div>
547547
{% endfor %}
548548

549-
{# ...or you can read and display every flash message available for given labels #}
549+
{# read and display several types of flash messages #}
550550
{% for label, messages in app.flashes(['success', 'warning']) %}
551551
{% for message in messages %}
552552
<div class="flash-{{ label }}">
@@ -555,7 +555,7 @@ read any flash messages from the session using ``app.flashes()``:
555555
{% endfor %}
556556
{% endfor %}
557557

558-
{# ...finally you can read and display every flash message available #}
558+
{# read and display all flash messages #}
559559
{% for label, messages in app.flashes %}
560560
{% for message in messages %}
561561
<div class="flash-{{ label }}">

0 commit comments

Comments
 (0)