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

How to call function in other route then i am

$
0
0

@1111 wrote:

App.BbbRoute = Ember.Route.extend({ actions:{ doSomething: function() } })

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"

i didnt understand how to do that

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4840

Trending Articles