Skip to content

Commit

Permalink
[#5640] some minor tweaks
Browse files Browse the repository at this point in the history
Replace tip by note and fix API doc reference.
  • Loading branch information
xabbuh committed Oct 3, 2015
1 parent 94697fc commit 917e6ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions book/controller.rst
Original file line number Diff line number Diff line change
Expand Up @@ -658,7 +658,7 @@ the following code will render the ``notice`` message:
</div>
<?php endforeach ?>

.. tip::
.. note::

By design, flash messages are meant to be processed exactly once. This means
that they vanish from the session automatically when they are retrieved from
Expand All @@ -667,7 +667,7 @@ the following code will render the ``notice`` message:
.. tip::

You can use the
:method:`Symfony\\Component\\HttpFoundation\\Session\\Flash\\FlashBagInterface::peek()`
:method:`Symfony\\Component\\HttpFoundation\\Session\\Flash\\FlashBagInterface::peek`
method instead to retrieve the message while keeping it in the bag.

.. index::
Expand Down

0 comments on commit 917e6ca

Please sign in to comment.