Created
May 5, 2014 20:36
-
-
Save stevejay/e3f843517da56a980ea5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static void RegisterRoutes(RouteCollection routes) | |
{ | |
routes.IgnoreRoute("{resource}.axd/{*pathInfo}"); | |
routes.MapRoute( | |
"Default", | |
"{controller}/{action}/{id}", | |
new {controller="Home", action="Index", id=UrlParameter.Optional}); | |
// More routes here. | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment