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
here, on discardFilter, this.modelFor('messages.list'); return the object from model hook.
the same app, i am converting the messages to the engines, in the host app, mounting the route as this.mount('message-engine', {as: "messages"});,
and inside the engines building the route as following:
while debugging, i have found inside the message engines Ember.getOwner(this).lookup("route:messages.list") return undefined, while Ember.getOwner(this).lookup("route:list") return the router instance object.
modeFor in the route.js, have same prefixed with the mounting path name, cause the lookup instance to return undefined.
I have an ember app, and here is the routing for messages
in the
messages.list
route, while deactivating the route, following code snippet is running,here, on discardFilter,
this.modelFor('messages.list');
return the object from model hook.the same app, i am converting the messages to the engines, in the host app, mounting the route as
this.mount('message-engine', {as: "messages"});
,and inside the engines building the route as following:
and inside the
routes/list
, while deactivating the routes, the same code snippet return undefined, below is the code snippet,Node and ember version
The text was updated successfully, but these errors were encountered: