project/app/routes/auth-error.js

9 lines
245 B
JavaScript
Raw Normal View History

2016-04-06 15:53:06 +00:00
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);
}
});