import Mixin from 'ember-metal/mixin';
import computed from 'ember-computed';

export default Mixin.create({
  routerInstance: computed(function() {
    return this.container.lookup('router:main');
  }),

  sendRouteAction() {
    this.get('routerInstance').send(...arguments);
  }
});
