vendredi 21 février 2020

Ember dynamic router redirect

I have the blow route in my route.js file

this.route('view', {path: 'view/:id'}, function() {
  this.route('page');
  this.route('detail');
});

When I call this from my index.js route file it's not working.

this.transitionTo('/view/123/page');

It stops in the browser like /view/123 and the 'page' is not loaded. Can you anyone help me to resolve this.




Aucun commentaire:

Enregistrer un commentaire