Created
May 18, 2019 19:09
-
-
Save seangwright/b7a7d9f7a6a79d63bd5b2da2ea6d68c9 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 class HomeRouteRegistry : IRouteRegistry | |
{ | |
public int Priority => RoutePriorityReference.LOWEST; | |
public void RegisterRoutes(RouteCollection routes) => | |
routes.MapRoute<HomeController>( | |
name: "Home", | |
url: "", | |
nameOfDefaultAction: c => nameof(c.Index) | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment