8000 add app.flashes() to the Twig reference · symfony/symfony-docs@e066653 · GitHub
[go: up one dir, main page]

Skip to content

Commit e066653

Browse files
committed
add app.flashes() to the Twig reference
1 parent 3a9e1ba commit e066653

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

reference/twig_reference.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -738,6 +738,7 @@ The available attributes are:
738738
* ``app.debug``, a boolean telling whether the debug mode is enabled in the app;
739739
* ``app.token`` (a :class:`Symfony\\Component\\Security\\Core\\Authentication\\Token\\TokenInterface`
740740
object representing the security token)
741+
* ``app.flashes()``, return flash messages from the session
741742

742743
.. _`Twig Reference`: http://twig.sensiolabs.org/documentation#reference
743744
.. _`Twig Extensions repository`: https://github.com/twigphp/Twig-extensions

0 commit comments

Comments
 (0)
0