You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
App.Router=Em.Router.extend({user: Em.Route.extend({route: '/user/:user_id',connectOutlets: function(router,user){router.get('userController').set('content','user');router.get('applicationController').connectOutlet('user');}profile: Em.Route.extend({route: '/profile',connectOutlets: function(router,context){user=router.getPath('userController.content');// This line below is where we need async, can be null unless we know the user model is loadedrouter.get('profileController').set('content',user.get('profile'));router.get('userController').connectOutlet('profile');}});})});