Linting
This commit is contained in:
parent
aeb3206fd9
commit
21e0e6c624
10 changed files with 112 additions and 87 deletions
|
@ -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');
|
||||
},
|
||||
|
||||
|
|
Reference in a new issue