Skip to content

Instantly share code, notes, and snippets.

@abuiles
Created January 17, 2014 17:06
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 abuiles/8477179 to your computer and use it in GitHub Desktop.
Save abuiles/8477179 to your computer and use it in GitHub Desktop.
APp.SearchController = Ember.ArrayController.extend
queryParams: ['bd']
bd: null
actions:
foo: ->
@transitionToRoute({ queryParams: { bd: @get('businessDecision').id }})
# http://localhost:3000/search?search[bd]=134
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment