cms/app-client/app/routes/tabs/detail.js
author ymh <ymh.work@gmail.com>
Fri, 12 Feb 2016 22:31:48 +0100
changeset 123 4c97e9da1416
parent 99 7a0f42034a25
permissions -rw-r--r--
Remove use of global variables + remove ember-cli-content-security-policy from package.json to avoid bogus csp violation warnings

import Ember from 'ember';

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