Skip to content

Commit

Permalink
Update Readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed Jul 28, 2012
1 parent c2e2ee6 commit c20fa0b
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,9 @@ connect-redis is a Redis session store backed by [node_redis](http://github.com/
var connect = require('connect')
, RedisStore = require('connect-redis')(connect);

connect.createServer(
connect.cookieParser(),
connect.session({ store: new RedisStore(options), secret: 'keyboard cat' })
);
connect()
.use(connect.session({ store: new RedisStore(options), secret: 'keyboard cat' }))


This means express users may do the following, since `express.session.Store` points to the `connect.session.Store` function:

Expand Down

0 comments on commit c20fa0b

Please sign in to comment.