App.AaaRoute = App.BbbRoute.extend({
//how can i call doSomething from here ???
})
when i try to call doSomething i get error message “Can’t trigger action 'doSomething ’ because your app hasn’t finished transitioning into its first route, you can call .send() on the Transition object passed to the model/beforeModel/afterModel hooks”
So an action will bubble up its parent routes until it hits the application route.
The error: “Can’t trigger action 'doSomething ’ because your app hasn’t finished transitioning into its first route, you can call .send() on the Transition object passed to the model/beforeModel/afterModel hooks” is usually called when you’re trying to call an action on a route you’re currently transitioning to or one that hasnt fully built (like if you deep linked to a url).