diff --git a/controller.rst b/controller.rst index 43ce87201e6..659e3e1558e 100644 --- a/controller.rst +++ b/controller.rst @@ -447,14 +447,14 @@ read any flash messages from the session: // you can read and display just one flash message type... - getFlash('notice') as $message): ?> + getFlashBag()->get('notice') as $message): ?>