diff options
Diffstat (limited to 'client/config/blazeHelpers.js')
-rw-r--r-- | client/config/blazeHelpers.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/client/config/blazeHelpers.js b/client/config/blazeHelpers.js index ef075907..73ee24b6 100644 --- a/client/config/blazeHelpers.js +++ b/client/config/blazeHelpers.js @@ -18,6 +18,4 @@ Blaze.registerHelper('currentCard', () => { Blaze.registerHelper('getUser', (userId) => Users.findOne(userId)); -Blaze.registerHelper('concat', function (...args) { - return Array.prototype.slice.call(args, 0, -1).join(''); -}); +Blaze.registerHelper('concat', (...args) => args.slice(0, -1).join('')); |