Transitioning from application index route to any other route won't trigger application-loading

时间:2016-07-11 19:49:01

标签: ember.js

The first time i login into my application, it will transit to application index and from there I want to transit to my home route. The issue is that the application-loading and its corresponding template won't be triggered. I was wondering what i am missing here. I have noticed that if i am in my home route and i refresh the page, it will trigger application-loading substate.

1 个答案:

答案 0 :(得分:0)

在您的return true路由index功能中

action.loading,以便在该加载挂钩触发后,该事件将继续冒泡到您的应用路径。