server/bo_client/app/routes/doc.js
author nowmad@nowmads-macbook-pro.local
Thu, 07 Jan 2016 17:46:50 +0100
changeset 81 848e4a5ad4d9
parent 4 f55970e41793
child 28 b0b56e0f8c7f
permissions -rw-r--r--
update date params to be an array of date instead of a string

import Ember from 'ember';

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