import Mixin from 'ember-metal/mixin';

export default Mixin.create({
  beforeModel(transition) {
    this._super(...arguments);

    if (this.modelFor('dashboards.subscription-dash')) {
      return;
    }
    transition.abort();
    this.intermediateTransitionTo('404', {});
  }
});
