buschtoens / ember-route-task-helper

Easily access tasks defined on a route in your templates
https://buschtoens.github.io/ember-route-task-helper/
MIT License
27 stars 4 forks source link

routeTaskFromRouter is undefined #523

Open basz opened 3 years ago

basz commented 3 years ago

using the following

import { routeTaskFromRouter } from 'ember-route-task-helper';

is not possible as routeTaskFromRouter is undefined.

change the index.js to fixes it...

export {
  default as routeTask,
  routeTaskFromRouterService as routeTaskFromRouter
} from 'ember-route-task-helper/utils/route-task';