ENH: Collection List (#20)
This commit is contained in:
parent
77071dfa35
commit
55a1c4fca6
26 changed files with 284 additions and 3 deletions
11
app/routes/collections.js
Normal file
11
app/routes/collections.js
Normal file
|
@ -0,0 +1,11 @@
|
|||
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'
|
||||
});
|
||||
}
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue