@Parsek wrote:
Hi Everyone,
Recently, I started to use EmberJS., and today I cam across a problem in which i can’t seem to workout the solution.
I have 3 Routes. One is the Parent and two are the Child.
Routes: Route Parent Route Child A Route Child B
From the Route Child A I am performing a transitionTo Route Child B which looks like this:
this.get(‘router’).transitionTo(“Routeparent.RouteChildB”);
My main Goal is to pass the Model from RouteChildA to the RouteChildB when performing the transition. However, it is giving me all sorts of errors when i do this:
this.get(‘router’).transitionTo(“Routeparent.RouteChildB”, model);
"More context objects were passed than there are dynamic segments for the route".
So, my main question would be how can I pass data or a model when transition to another route?
Thanks
Posts: 1
Participants: 1