Skip to content

Instantly share code, notes, and snippets.

@rondale-sc
Created May 24, 2016 23:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rondale-sc/52bc2b8a01118a626a4045941b1b9fbd to your computer and use it in GitHub Desktop.
Save rondale-sc/52bc2b8a01118a626a4045941b1b9fbd to your computer and use it in GitHub Desktop.
model(params){
return Ember.RSVP.hash({
people: this.store.findAll('person'),
resources: this.store.findAll('resource'),
model: this.modelFor('episode.edit').get('showNotes').findBy('id', params.showNoteId)
});
},
setupController(controller, hash) {
controller.setProperties(hash);
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment