server/bo_client/app/routes/doc.js
author nowmad@23.1.168.192.in-addr.arpa
Fri, 18 Dec 2015 15:19:19 +0100
changeset 74 2bd46d0b2c80
parent 4 f55970e41793
child 28 b0b56e0f8c7f
permissions -rw-r--r--
Propagate the current query param to the new route (necessary when the route change comes from outside the app)

import Ember from 'ember';

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