Permalink
Browse files

strict syntax (always return)

  • Loading branch information...
1 parent 59bd97a commit b845a4dbbe7e758246d7565e986232c05da92b46 @yssk22 committed May 7, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 apps/posts/app.js
View
@@ -110,7 +110,7 @@ ddoc.init = function(app, config){
req.query.startkey = (new Date(y, m - 1, 1)).toJSON();
req.query.endkey = (new Date(y, m , 1)).toJSON();
req.query.descending = false;
- next();
+ return next();
},
parallel(
m.byUpdatedAt({perPage: 'unlimited'}),

0 comments on commit b845a4d

Please sign in to comment.