Using the Route.transitionTo function, I can call,
this.transitionTo('posts', {queryParams: {sort: 'title'}});
So, say I have an object,
qpms={sort:'title'}
Now, I can make it,
this.transitionTo('posts',{queryParams:qpms});
I also know that, in the template,
text
won't work.
Is there some way to achieve the same effect as provided by the Route.transitionTo function, in the link-to helper??
Aucun commentaire:
Enregistrer un commentaire