FIX: Accidentally comitted more than I wanted to

This commit is contained in:
Robin Ward 2016-05-09 17:07:31 -04:00
parent 3d392670a7
commit 85e98eeb59
No known key found for this signature in database
GPG Key ID: 0E091E2B4ED1B83D

View File

@ -6,7 +6,7 @@ const TITLE_SUBS = {
daily: 'today',
};
export default Ember.Helper.helper(function (period, options) {
export default Ember.Handlebars.makeBoundHelper(function (period, options) {
const title = I18n.t('filters.top.' + (TITLE_SUBS[period] || 'this_week'));
if (options.hash.showDateRange) {
var dateString = "";