8 lines
244 B
JavaScript
8 lines
244 B
JavaScript
import Ember from 'ember';
|
|
import AuthenticatedRouteMixin from 'simple-auth/mixins/authenticated-route-mixin';
|
|
|
|
export default Ember.Route.extend(AuthenticatedRouteMixin, {
|
|
model: function() {
|
|
return this.store.findAll('strain');
|
|
}
|
|
});
|