I’ve found this documentation about how to write helpers in Ember.JS 2.0: Writing Helpers - Templates - Ember Guides
And I’m wondering how to write this without the “module path” using Ruby gem ember-rails but this does not work and throws exception “A helper named ‘format-currency’ could not be found”:
formatCurrencyHelper = Ember.Helper.helper(function(params) {
return params[0];
});