Ember: how do you access the model from the router?

Two options: this.currentModel or this.modelFor(routeName)

Update

I spoke to SeƱor Alex Matchneer about this. There are no plans for this.currentModel to go away anytime soon, but he considers this.modelFor(this.routeName) the public API.

Leave a Comment