Variables in URLs. Routes manipulation.

The links would work as you intend to as long as the routes are fine.

Thanks & Regards,
Dhruva Sagar.

Stephen Leacock - “I detest life-insurance agents: they always argue that I shall some day die, which is not so.”