I have the following URL map in Global.asax.cs:
routes.MapRoute("RejectRevision", "{controller}/{Index}/{revisionId}"
, new { controller = "RejectRevision", action = "Index", revisionId = "" });
But I don't want to have to type http://localhost:9999/RejectRevision/Index/1, I want to be able to type in http://localhost:9999/RejectRevision/1 in order to hit the Index action on the RejectRevision controller. What am I missing here?
THanks.