import DS from "ember-data";

export default DS.Model.extend({
  page: DS.belongsTo('page'),
  section: DS.belongsTo('section'),
  sequence: DS.belongsTo('sequence'),
  title: DS.attr('string'),
  commentary: DS.hasOneFragment('markdown')
});

import DS from "ember-data";

export default DS.Model.extend({
  page: DS.belongsTo('page'),
  section: DS.belongsTo('section', {async: true}),
  sequence: DS.belongsTo('sequence'),
  title: DS.attr('string'),
  commentary: DS.hasOneFragment('markdown')
});

Allow async loading of sections
Allow async loading of sections
