9 lines
292 B
JavaScript
9 lines
292 B
JavaScript
import Ember from 'ember';
|
|
import AuthenticatedRouteMixin from 'simple-auth/mixins/authenticated-route-mixin';
|
|
|
|
export default Ember.Route.extend(AuthenticatedRouteMixin, {
|
|
beforeModel: function(transition) {
|
|
this._super(transition);
|
|
this.transitionTo('protected.compare');
|
|
}
|
|
});
|