Remove some debug/console.log statements.

Fix allFieldGuideIds method in resources.js to return an array of _ids, not an array of objects.
Field guide controller now correctly completes field guides. Closes #367.
This commit is contained in:
terakilobyte
2015-04-25 12:28:14 -04:00
parent a6f6d7e1cf
commit a9feb269f6
7 changed files with 11 additions and 18 deletions

View File

@ -261,9 +261,7 @@ module.exports = {
} else {
allFieldGuideIds = fieldGuides.
map(function (elem) {
return {
_id: elem._id
};
return elem._id;
});
return allFieldGuideIds;
}