8000 add app.flashes() to the Twig reference by xabbuh · Pull Request #7900 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

add app.flashes() to the Twig reference #7900

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 15, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
add app.flashes() to the Twig reference
  • Loading branch information
xabbuh committed May 12, 2017
commit e0666535e9b1b9c3d314b5322c0be2160e299892
1 change: 1 addition & 0 deletions reference/twig_reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -738,6 +738,7 @@ The available attributes are:
* ``app.debug``, a boolean telling whether the debug mode is enabled in the app;
* ``app.token`` (a :class:`Symfony\\Component\\Security\\Core\\Authentication\\Token\\TokenInterface`
object representing the security token)
* ``app.flashes()``, return flash messages from the session

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