project/app/routes/auth-error.js
Martin Donnelly e06e53e5bd whats wrong?
2016-04-06 16:53:06 +01:00

9 lines
245 B
JavaScript

import Ember from 'ember';
import AuthenticatedRouteMixin from 'ember-simple-auth/mixins/authenticated-route-mixin';
export default Ember.Route.extend(AuthenticatedRouteMixin, {
model() {
return this.get('store').find('post', 3);
}
});