ccdb-web/app/routes/index.js

8 lines
252 B
JavaScript

import Route from '@ember/routing/route';
import AuthenticatedRouteMixin from 'ember-simple-auth/mixins/authenticated-route-mixin';
export default Route.extend(AuthenticatedRouteMixin, {
afterModel() {
this.transitionTo('collections');
},
});