Skip to content

Conversation

mickaelandrieu
Copy link
Contributor

No description provided.

@@ -686,7 +686,7 @@ the ``notice`` message:

.. code-block:: php

<?php foreach ($view['session']->getFlash('notice') as $message): ?>
<?php foreach ($view['session']->getFlashBag('notice') as $message): ?>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is wrong. getFlashBag is not a renaming of getFlash. It should be ->getFlashBag()->get('notice')

@mickaelandrieu
Copy link
Contributor Author

You're right. I have to édit.

Ok for me, it seems to me that the behavior will change in hinclude with Twig but after checking it is not yet valid. Documentation visible symfony.com does not match perfectly with the master: in the case of the {% url render () ... but this is corrected on the master.
@weaverryan
Copy link
Member

Hi Mickaël!

A few things that you found were recently fixed, but I liked your Twig formatting change - I've patched that into the 2.1 branch at sha: 3ca1386

Thanks!

@weaverryan weaverryan closed this Apr 4, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants