15 lines
320 B
JavaScript
15 lines
320 B
JavaScript
import Ember from 'ember';
|
|
import AuthenticatedRouteMixin from 'ember-simple-auth/mixins/authenticated-route-mixin';
|
|
|
|
const { Route } = Ember;
|
|
|
|
export default Route.extend(AuthenticatedRouteMixin, {
|
|
actions: {
|
|
error: function(err) {
|
|
console.log(err);
|
|
this.transitionTo('/not-found');
|
|
},
|
|
|
|
},
|
|
|
|
});
|