Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixed redis example

  • Loading branch information...
commit 0634bf0b0dae0b005f4b459bf00c163ca2208599 1 parent f9e48c2
@tj tj authored
View
3  examples/mounting/app.js
@@ -1,7 +1,4 @@
-// Expose modules in ./support for demo purposes
-require.paths.unshift(__dirname + '/../../support');
-
/**
* Module dependencies.
*/
View
3  examples/multipart/app.js
@@ -1,7 +1,4 @@
-// Expose modules in ./support for demo purposes
-require.paths.unshift(__dirname + '/../../support');
-
/**
* Module dependencies.
*/
View
3  examples/mvc/app.js
@@ -1,7 +1,4 @@
-// Expose modules in ./support for demo purposes
-require.paths.unshift(__dirname + '/../../support');
-
/**
* Module dependencies.
*/
View
3  examples/params/app.js
@@ -1,7 +1,4 @@
-// Expose modules in ./support for demo purposes
-require.paths.unshift(__dirname + '/../../support');
-
/**
* Module dependencies.
*/
View
3  examples/partials/app.js
@@ -1,7 +1,4 @@
-// Expose modules in ./support for demo purposes
-require.paths.unshift(__dirname + '/../../support');
-
/**
* Module dependencies.
*/
View
3  examples/resource/app.js
@@ -1,7 +1,4 @@
-// Expose modules in ./support for demo purposes
-require.paths.unshift(__dirname + '/../../support');
-
/**
* Module dependencies.
*/
View
3  examples/route-middleware/app.js
@@ -1,7 +1,4 @@
-// Expose modules in ./support for demo purposes
-require.paths.unshift(__dirname + '/../../support');
-
/**
* Module dependencies.
*/
View
3  examples/route-separation/app.js
@@ -1,7 +1,4 @@
-// Expose modules in ./support for demo purposes
-require.paths.unshift(__dirname + '/../../support');
-
/**
* Module dependencies.
*/
View
3  examples/say/app.js
@@ -1,7 +1,4 @@
-// Expose modules in ./support for demo purposes
-require.paths.unshift(__dirname + '/../../support');
-
/**
* Module dependencies.
*/
View
3  examples/session/app.js
@@ -1,7 +1,4 @@
-// Expose modules in ./support for demo purposes
-require.paths.unshift(__dirname + '/../../support');
-
/**
* Module dependencies.
*/
View
5 examples/session/redis.js
@@ -1,7 +1,4 @@
-// Expose modules in ./support for demo purposes
-require.paths.unshift(__dirname + '/../../support');
-
/**
* Module dependencies.
*/
@@ -15,7 +12,7 @@ var app = express.createServer(
express.logger(),
// Required by session() middleware
- express.cookieDecoder(),
+ express.cookieParser(),
// Populates:
// - req.session
View
3  package.json
@@ -23,7 +23,8 @@
"stylus": "0.13.0",
"should": "0.2.1",
"express-messages": "0.0.2",
- "node-markdown": ">= 0.0.1"
+ "node-markdown": ">= 0.0.1",
+ "connect-redis": ">= 0.0.1"
},
"keywords": ["framework", "sinatra", "web", "rest", "restful"],
"repository": "git://github.com/visionmedia/express",
Please sign in to comment.
Something went wrong with that request. Please try again.