From f16e71dc88b69c58f32ebfb5d448ac3e18728d02 Mon Sep 17 00:00:00 2001 From: Eric Ryan Harrison Date: Fri, 7 Feb 2014 17:54:13 -0500 Subject: [PATCH] Fixed minor bug in the flash example in README.md Minor bug in the req.flash Data Usage Controller example. String passed instead of an object wrapped string. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ab090980a1..66c8b1e913 100644 --- a/README.md +++ b/README.md @@ -503,7 +503,7 @@ to "info" and "success" flash messages, and you could even create a new one your **Data Usage Controller (Example)** ``` -req.flash('warning', 'You have exceeded 90% of your data usage'); +req.flash('warning', {'You have exceeded 90% of your data usage'}); ``` **User Account Page (Example)**