diff --git a/quick_tour/the_controller.rst b/quick_tour/the_controller.rst index bc90f0af99b..b555c56e68d 100644 --- a/quick_tour/the_controller.rst +++ b/quick_tour/the_controller.rst @@ -326,7 +326,7 @@ And you can display the flash message in the template like this: .. code-block:: html+jinja
- {{ app.session.flashbag.get('notice') }} + {{ app.session.flashbag.get('notice')[0] }}
Final Thoughts