Is it not possible to have a computed.alias between a controller and router?


#1

I have an EntityListController that has a property I’m trying to get on EntityRoute. EntityList is higher on the view chain so and I know the property I’m looking for is initialized before the EntityRoute is created.

I’ve already included: { needs : [“entityList”], checkedEntities: Ember.computed.alias(‘controllers.entityList.checkedEntities’) }

The property is still undefined on the route unfortunately.


#2

Within the route, you use this.controllerFor("entity_list") to access any controller.

You can then used the returned object to get some other properties.