Skip to content

Instantly share code, notes, and snippets.

@jasongonzales23
Created September 18, 2013 18:30
Show Gist options
  • Save jasongonzales23/6613397 to your computer and use it in GitHub Desktop.
Save jasongonzales23/6613397 to your computer and use it in GitHub Desktop.
Promises in Ember JS
App.SomeRoute = Ember.Route.extend
model: ->
@.store.find('some_data')
setupController: (controller, model) ->
@.controllerFor('some.index').set('model', model)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment