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:
@ -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)**
|
||||
|
Reference in New Issue
Block a user