ASP.NET MVC 2 RC2 Routing - How to clear low-level values when using ActionLink to refer to a higher
- by Gary McGill
[NOTE: I'm using ASP.NET MVC2 RC2.]
I have URLs like this:
/customer/123/order/456/item/index
/customer/123/order/456/item/789/edit
My routing table lists the most-specific routes first, so I've got:
// customer/123/order/456/item/789/edit
routes.MapRoute(
"item", // Route name
…