ccdb-web/app/routes/collections/detail.js

11 lines
218 B
JavaScript

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)
]);
},
});