cms/app-client/app/routes/tabs/detail.js
author ymh <ymh.work@gmail.com>
Tue, 07 Jun 2016 01:16:31 +0200
changeset 173 cf7b221238fd
parent 99 7a0f42034a25
permissions -rw-r--r--
Work on test fixtures: - get rid both on bo and front of 2 fixtures files for documents - correct dl_fixtures to reflect this - upgrade mirage from 0.1.13 to 0.2.0 - download new version of documents fixtures including geo information
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
98
2e6bfce6f99c add details tab for perma-link to documents
nowmad@23.1.168.192.in-addr.arpa
parents:
diff changeset
     1
import Ember from 'ember';
2e6bfce6f99c add details tab for perma-link to documents
nowmad@23.1.168.192.in-addr.arpa
parents:
diff changeset
     2
2e6bfce6f99c add details tab for perma-link to documents
nowmad@23.1.168.192.in-addr.arpa
parents:
diff changeset
     3
export default Ember.Route.extend({
2e6bfce6f99c add details tab for perma-link to documents
nowmad@23.1.168.192.in-addr.arpa
parents:
diff changeset
     4
  model(params) {
2e6bfce6f99c add details tab for perma-link to documents
nowmad@23.1.168.192.in-addr.arpa
parents:
diff changeset
     5
    return this.store.findRecord('document', params.document_id);
2e6bfce6f99c add details tab for perma-link to documents
nowmad@23.1.168.192.in-addr.arpa
parents:
diff changeset
     6
  }
2e6bfce6f99c add details tab for perma-link to documents
nowmad@23.1.168.192.in-addr.arpa
parents:
diff changeset
     7
});