Ember.Route.model has access to the params variable, but Ember.Route.setupController does not. This is troublesome for me, because my path
Ember.Route.model
params
Ember.Route.setupController
Since Ember 1.8, the Route class has a paramsFor function:
import Route from '@ember/routing/route'; export default Route.extend({ setupController(controller) { this._super(...arguments); const params = this.paramsFor('name.of.your.route') } });