cms/app-client/app/routes/tabs/detail.js
author ymh <ymh.work@gmail.com>
Thu, 02 Jun 2016 18:24:19 +0200
changeset 168 17f10b56c079
parent 99 7a0f42034a25
permissions -rw-r--r--
improve document model and propagate changes. This include the change of document fixtures to better reflect what the api is effectively returning

import Ember from 'ember';

export default Ember.Route.extend({
  model(params) {
    return this.store.findRecord('document', params.document_id);
  }
});