fixing templateClass helper

This commit is contained in:
Sacha Greif 2014-07-07 11:51:59 +09:00
parent a478c5c5c8
commit 130103ed9d

View file

@ -23,5 +23,8 @@ Template[getTemplate('post_item')].helpers({
moduleContext.templateClass = camelToDash(moduleContext.template);
moduleContext._id = null;
return moduleContext;
},
templateClass: function () {
return camelToDash(this.template);
}
});