import Ember from 'ember';

export default Ember.Route.extend({
  beforeModel(transition) {
    if (this.get('session.isAuthenticated')) {
      this.transitionTo('/');
    }
  },

  resetController(controller, isExiting) {
    if (isExiting) {
      controller.resetController();
    }
  }
});

import Ember from 'ember';

export default Ember.Route.extend({
  beforeModel() {
    if (this.get('session.isAuthenticated')) {
      this.transitionTo('/');
    }
  },

  resetController(controller, isExiting) {
    if (isExiting) {
      controller.resetController();
    }
  }
});

Remove unused function param caught by eslint
Remove unused function param caught by eslint
