diff --git a/addon/create-mixin.js b/addon/create-mixin.js index f174470..387a19c 100644 --- a/addon/create-mixin.js +++ b/addon/create-mixin.js @@ -24,7 +24,7 @@ export default function(bindEvent, unbindEvent) { const type = Ember.typeOf(action); let callback; if (type === 'string') { - callback = function(){ + callback = () => { this.send(action); return preventDefault !== true; }