Skip to content

Instantly share code, notes, and snippets.

@AlexZeitler
Created February 4, 2012 12:24
Show Gist options
  • Save AlexZeitler/1737532 to your computer and use it in GitHub Desktop.
Save AlexZeitler/1737532 to your computer and use it in GitHub Desktop.
routes.MapRoute(
name: "MVC Default",
url: "{controller}/{action}/{id}",
defaults: new { controller = "Home", action = "Index", id = UrlParameter.Optional }
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment