Skip to content

Commit

Permalink
Update the_controller.rst
Browse files Browse the repository at this point in the history
The sample code does not work due to an array o string conversion exception. The documentation needs to be updated to reflect the change
  • Loading branch information
aykin authored and wouterj committed Jun 27, 2015
1 parent e15eb21 commit 176cdc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quick_tour/the_controller.rst
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ And you can display the flash message in the template like this:
.. code-block:: html+jinja

<div>
{{ app.session.flashbag.get('notice') }}
{{ app.session.flashbag.get('notice')[0] }}
</div>

Final Thoughts
Expand Down

0 comments on commit 176cdc6

Please sign in to comment.