Overloaded default action should not produced a route with hardcoded action #535

Imported from the CodePlex archive for reference purposes. Support for MvcCodeRouting has ended.

Reported on

e.g.:

public class TestController : Controller {

public ActionResult Index() { return View(); }

[HttpDelete] public ActionResult Index(string foo) { return View(); } }

… produces “Test/Index”, should be “Test/{action}”.

Commented on link

Fixed in changeset 9323fc2664801d2ec0a550451fe5f85ce7cd8a08

Commented on link

Fixed in changeset b707a5024a2c46c8315743a2f5d628c5b6870035

Commented on link

Fixed in changeset cd80e23c306ce90e0cd96e36d0481b5e51505c8f

Commented on link

Fixed in changeset 5221cc6254c3fbedcb1c1698174d881e9f0c9b1b

Commented on link

Fixed in changeset d247b54cd9c773845a31f533fc66c8ff952c9169

Commented on link

Fixed in changeset 598e5a5b715d8df2f2b0cd3c2a95175d3db3b345

Commented on link

Fixed in changeset e03608e27417c313cf7b0335799bead5bb94872d

Commented on link

Fixed in changeset 991d1a4968fd963802b49fc6fcfb44b967c7f018

Commented on link

Fixed in changeset a6e03585772887ce678980786c59723a84a052a3

Commented on link

Fixed in changeset 698cab0c7cb255f94dd3b3e98827ca9cde275242

Commented on link

Fixed in changeset b785687077ab0155bf8d67b011c04cb7c8dcf194