diff --git a/addon/helpers/route-action.js b/addon/helpers/route-action.js index 8ed5d25..98dfa5f 100644 --- a/addon/helpers/route-action.js +++ b/addon/helpers/route-action.js @@ -2,7 +2,7 @@ import { A as emberArray } from '@ember/array'; import Helper from '@ember/component/helper'; import { get, computed } from '@ember/object'; import { getOwner } from '@ember/application'; -import { run } from '@ember/runloop'; +import { join } from '@ember/runloop'; import { runInDebug, assert } from '@ember/debug'; import { ACTION } from '../-private/internals'; @@ -51,7 +51,7 @@ export default Helper.extend({ let routeAction = function(...invocationArgs) { let { action, handler } = getRouteWithAction(router, actionName); let args = params.concat(invocationArgs); - return run.join(handler, action, ...args); + return join(handler, action, ...args); }; routeAction[ACTION] = true;