I'm still trying to practice making my code smaller. I know there's gotta be a better way to write this out using a loop. Can someone help me out?
Template.project.helpers({
cell1: function() {
return Session.get('cell1');
},
cell2: function() {
return Session.get('cell2');
},
cell3: function() {
return Session.get('cell3');
},
cell4: function() {
return Session.get('cell4');
},
cell5: function() {
return Session.get('cell5');
},
cell6: function() {
return Session.get('cell6');
},
cell7: function() {
return Session.get('cell7');
},
cell8: function() {
return Session.get('cell8');
},
cell9: function() {
return Session.get('cell9');
}
});