9 lines
291 B
JavaScript
9 lines
291 B
JavaScript
import Ember from 'ember';
|
|
import AuthenticatedRouteMixin from 'simple-auth/mixins/authenticated-route-mixin';
|
|
|
|
export default Ember.Route.extend(AuthenticatedRouteMixin, {
|
|
model: function(params) {
|
|
return this.store.findRecord('strain', params.strain_id, { reload: true });
|
|
},
|
|
|
|
});
|