Skip to content

Instantly share code, notes, and snippets.

@topherfangio
Created March 10, 2011 19:41
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 topherfangio/864762 to your computer and use it in GitHub Desktop.
Save topherfangio/864762 to your computer and use it in GitHub Desktop.
// Inside of Pharos360.studentsController, called whenever an element is clicked
this.set('content', Pharos360.store.find(Pharos360.Student));
// Inside my statechart
Pharos360.store.loadRecords(Pharos360.Student, students);
var students = Pharos360.store.find(Pharos360.Student);
Pharos360.studentsController.set('content', students);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment