Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixing non-backward compatible express.js method names; still broken …

…for latest mongoose version
  • Loading branch information...
commit ea2c40183e28a347ce72f409ed95196d599000b2 1 parent 30c101b
@swanson authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 app.js
View
4 app.js
@@ -7,11 +7,11 @@ var app = module.exports = express.createServer();
// Configuration
app.configure(function(){
app.set('views', __dirname + '/views');
- app.use(express.bodyDecoder());
+ app.use(express.bodyParser());
app.use(express.methodOverride());
app.use(express.compiler({ src: __dirname + '/public', enable: ['less'] }));
app.use(app.router);
- app.use(express.staticProvider(__dirname + '/public'));
+ app.use(express.static(__dirname + '/public'));
});
app.configure('development', function(){
Please sign in to comment.
Something went wrong with that request. Please try again.