鉴于以下路线:
App.Router.map ->
@resource 'locations', path: '/:location_id', ->
@route 'events', path: '/events/:date'
App.LocationsEventsRoute = Ember.Route.extend
model: (params) ->
location_id = @modelFor('locations').get('id')
console.log location_id
访问“/#/gothenburg-se/events/2013-09-03”,location_id
返回null
. 这在 v1.0 之前有效。发生了什么变化,我该如何解决?