ccdb-web/app/routes/collections/index.js
2017-09-13 14:07:41 -07:00

11 lines
239 B
JavaScript

import Ember from 'ember';
const { Route } = Ember;
export default Route.extend({
model() {
return this.get('store').findAll('collection', {
include: 'project,study-location,collection-method,collection-type'
});
}
});