Skip to content

Instantly share code, notes, and snippets.

@fivetwentysix
Created June 26, 2014 05:57
DemoApp.PlayersRoute = Ember.Route.extend
model: ->
Ember.$.getJSON '/players'
DemoApp.PlayersShowRoute = Ember.Route.extend
model: (params) ->
Ember.$.getJSON '/players/' + params.id
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment