Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

added req.flash to readme

  • Loading branch information...
commit d4fca876f0a569de3263e5d1d55ac130f3783470 1 parent 3adbdeb
@incompl incompl authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 Readme.md
View
4 Readme.md
@@ -10,6 +10,10 @@ The _express-messages_ module provides flash notification rendering. To use simp
## Usage
+On the server, add messages like this:
+
+ req.flash("info", "herp derp %s", something)
+
Then in a view you may output the notifications based on your templating engine:
### [EJS](https://github.com/visionmedia/ejs)
Please sign in to comment.
Something went wrong with that request. Please try again.