Skip to content
This repository was archived by the owner on Aug 21, 2018. It is now read-only.

Commit

Permalink
Fix in Configuraions
Browse files Browse the repository at this point in the history
  • Loading branch information
adnaankhalil committed Feb 26, 2015
1 parent 0a6c71f commit 9e50287
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions app/nation/app/collections/Configurations.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,13 @@ $(function() {
},
parse: function (response) {

var docs = _.map(response.rows, function (row) {
return row.doc
})
return docs
var models = []
_.each(response.rows, function(row) {
if (row.doc._id != '_design/bell') {
models.push(row.doc);
}
});
return models;
},


Expand Down

0 comments on commit 9e50287

Please sign in to comment.