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.
Two options: this.currentModel
or this.modelFor(routeName)
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.