Vulcan/client/views/posts/modules/post_rank.js
Anthony Mayer 2bafca52e3 Fixing style issues.
Also, switching Router.routes[].path to Router.path
2015-01-19 00:48:17 -08:00

7 lines
No EOL
157 B
JavaScript

Template[getTemplate('postRank')].helpers({
oneBasedRank: function(){
if (typeof this.rank !== 'undefined') {
return this.rank + 1;
}
}
});