Strips off URL paramters from route when rendering modules