Skip to content

Commit

Permalink
add docs to show where options are passed. Closes #51
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed Jul 18, 2012
1 parent 5284252 commit 8b5b2d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Readme.md
Expand Up @@ -29,7 +29,7 @@ connect-redis is a Redis session store backed by [node_redis](http://github.com/
connect.createServer(
connect.cookieParser(),
// 5 minutes
connect.session({ store: new RedisStore, secret: 'keyboard cat' })
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 8b5b2d1

Please sign in to comment.