ENH: Simple collection details (#27)
This commit is contained in:
parent
578b8daa32
commit
09a62cf165
14 changed files with 60 additions and 29 deletions
11
app/routes/collections/detail.js
Normal file
11
app/routes/collections/detail.js
Normal file
|
@ -0,0 +1,11 @@
|
|||
import Ember from 'ember';
|
||||
|
||||
const { Route, RSVP } = Ember;
|
||||
|
||||
export default Route.extend({
|
||||
model(params) {
|
||||
return RSVP.all([
|
||||
this.get('store').findRecord('collection', params.collection_id)
|
||||
]);
|
||||
},
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue