ccdb-web/app/routes/index.js

10 lines
263 B
JavaScript

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