Quantcast
Channel: Ember.JS - Latest topics
Viewing all articles
Browse latest Browse all 4826

This.render inside beforeModel

$
0
0

@kellyselden wrote:

Is it expected that you can’t call this.render inside beforeModel? I get

Error while processing route: checkout.people-search Cannot read property 'push' of undefined TypeError: Cannot read property 'push' of undefined
    at Class.render (http://localhost:4200/assets/vendor.js:47429:24)
    at Class.beforeModel (http://localhost:4200/engines-dist/checkout/assets/engine.js:1790:14)

this.connections is undefined, and isn’t initialized until the activate hook.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4826

Trending Articles