mirror of
https://github.com/vale981/Vulcan
synced 2025-03-07 02:21:43 -05:00
fixing templateClass helper
This commit is contained in:
parent
a478c5c5c8
commit
130103ed9d
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue