Remove the last route parameter used for resource grouping