I want to map multiple urls to 1 action, but I just want 1 route.
For eg.
routes.MapRoute(
"SingleUser_Long",
"Users/{username}",
new { controller = "Users", action = "SingleUser" });
routes.MapRoute(
"Users",
"{username}",
new { controller = "Users", action = "SingleUser" });
Is there a way I can put these 2 in 1? Its becomming tedious when I have to add more and I keep copy/paste duplicates, only to add "Users" infront of the url.