404/Not Found

Fixes #21
This commit is contained in:
Matthew Dillon 2015-10-14 11:24:40 -07:00
parent 8577c38a9f
commit 0c8fc4db6c
4 changed files with 23 additions and 0 deletions

View file

@ -9,4 +9,11 @@ export default Ember.Route.extend(AuthenticatedRouteMixin, {
return this.store.find('user', user.sub);
},
actions: {
error: function() {
this.transitionTo('/not-found');
},
},
});