cms/app-client/app/routes/tabs/detail.js
author ymh <ymh.work@gmail.com>
Mon, 30 May 2016 00:32:20 +0200
changeset 164 5f1e1cc17e8a
parent 99 7a0f42034a25
permissions -rw-r--r--
add mirage fixtures and api path for testing in app client

import Ember from 'ember';

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