This commit is contained in:
Matthew Dillon 2015-11-12 05:54:18 -07:00
parent aeb3206fd9
commit 21e0e6c624
10 changed files with 112 additions and 87 deletions

View file

@ -1,9 +1,12 @@
import Ember from 'ember';
import AuthenticatedRouteMixin from 'ember-simple-auth/mixins/authenticated-route-mixin';
export default Ember.Route.extend(AuthenticatedRouteMixin, {
const { Route } = Ember;
export default Route.extend(AuthenticatedRouteMixin, {
actions: {
error: function() {
error: function(err) {
console.log(err);
this.transitionTo('/not-found');
},