remove modal from field guide and create index view

This commit is contained in:
Quincy Larson
2015-05-23 18:39:30 -07:00
parent 50039184e9
commit 1949005632
7 changed files with 38 additions and 24 deletions

View File

@@ -436,12 +436,12 @@ module.exports = {
}
},
allFieldGuideNames: function() {
allFieldGuideNamesAndIds: function() {
if (allFieldGuideNames) {
return allFieldGuideNames;
} else {
allFieldGuideNames = fieldGuides.map(function (elem) {
return { name: elem.name };
return { name: elem.name, id: elem._id };
});
return allFieldGuideNames;
}