Fix up moment js

This commit is contained in:
Matthew Dillon 2015-08-24 13:40:40 -07:00
parent fb88f494b2
commit 56c0e92fe6
2 changed files with 4 additions and 2 deletions

View file

@ -1,7 +1,9 @@
import Ember from 'ember';
import { formatDate } from '../utils/date-helpers';
export default Ember.Handlebars.makeBoundHelper(function(value, format) {
export default Ember.Helper.helper(function(params) {
let value = params[0],
format = params[1];
if (value == null) {
return 'N/A';
}