import Ember from 'ember';

export default Ember.Controller.extend({
    fetchedNode: null,
    fetchedChild: null,
    actions: {
        fetchNodePreprintsEmbedded() {
            this.store.findRecord('node', 'ee2t9').then((node) => {
                this.set('fetchedNode', node);
            });
        },
        fetchNodeParentEmbedded() {
            this.store.findRecord('node', 'pe8s6').then((node) => {
                this.set('fetchedChild', node);
            });
        }
      }
});

import Ember from 'ember';

export default Ember.Controller.extend({
    fetchedNode: null,
    fetchedChild: null,
    actions: {
        fetchNodePreprintsEmbedded() {
            this.store.findRecord('node', '7gzxb', {include: 'preprints'}).then((node) => {
                this.set('fetchedNode', node);
            });
        },
        fetchNodeParentEmbedded() {
            this.store.findRecord('node', 'ddyuz', {include: 'parent'}).then((node) => {
                this.set('fetchedChild', node);
            });
        }
      }
});

Update dummy app to use included resources.
Update dummy app to use included resources.
