Hello there,
I am new to ember , so kindly tolerate any silly questions or things I may ask,
I have a scenario where I will be using the router.transitionTo function in my controller(say from A route) to transition to another route(say B route), the B route has the queryParams listed in it’s controller. When I use the LinkTo to go to the route B the default queryParams are omitted in the url generation but when using the router.transitionTo the default queryParams are appended on the url even though I did not pass any queryParams in my router.transitionTo function.
1.How can I achieve the same thing as LinkTo in terms of handling the default queryParams in the url generation.
I tried to pass the exact default values to the router.transitionTo function I also tried to pass empty queryParams object when using the router.transitionTo function
1 post - 1 participant