Skip to content

Instantly share code, notes, and snippets.

@SeanRoberts
Created November 7, 2014 16:09
Show Gist options
  • Save SeanRoberts/556433924585adb6144d to your computer and use it in GitHub Desktop.
Save SeanRoberts/556433924585adb6144d to your computer and use it in GitHub Desktop.
actions:
search: ->
@store
.find('realtor', { name: @get('name'), city: @get('city') })
.then (result) =>
@set('model', result)
@set('meta', result.get('meta'))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment