Skip to content

Commit

Permalink
bugfix template bodyparser() generting deprecated warning
Browse files Browse the repository at this point in the history
  • Loading branch information
SylTi committed Jan 20, 2014
1 parent f273998 commit c0985dd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion templates/express/config/express.js
Expand Up @@ -40,7 +40,8 @@ module.exports = function(app) {
app.set('view engine', 'html');<% } %><% if (jade) { %>
app.set('view engine', 'jade');<% } %>
app.use(express.logger('dev'));
app.use(express.bodyParser());
app.use(express.json());
app.use(express.urlencoded());
app.use(express.methodOverride());<% if(mongoPassportUser) { %>
app.use(express.cookieParser());

Expand Down

0 comments on commit c0985dd

Please sign in to comment.