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.
This commit is contained in:
Eric Ryan Harrison
2014-02-07 17:54:13 -05:00
parent db50b485da
commit f16e71dc88

View File

@ -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)**