old_contents: export default Ember.Route.extend({
    beforeModel: function () {
  
      var route = this;
  
      this.store.find('content-type').then(function (types) {
        if (types.get('length')) {
          route.transitionTo('wh');
        } else {
          route.transitionTo('start');
        }
      });
    }
  });
  
new_contents: export default Ember.Route.extend({
    beforeModel: function () {
  
      this._super.apply(this, arguments);
  
      var route = this;
  
      this.store.find('content-type').then(function (types) {
        if (types.get('length')) {
          route.transitionTo('wh');
        } else {
          route.transitionTo('start');
        }
      });
    }
  });
  
subject: make sure we redirect to login before trying to load data