Possible to shorten the url in routing for mvc?
//FieldController
public ActionResult Field()
//Views
Field
So the URL will be ...Field/Field
is it possible to shorten/remove the end field. So only ...Field
is it something to do with the RegisterRoutes in the Global
eg:
routes.MapRoute(
"Default", // Route name
"{controller}/{action}/{id}", // URL with parameters
new { controller = "Public", action = "Index", id = UrlParameter.Optional } // Parameter defaults
);