Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save seangwright/b7a7d9f7a6a79d63bd5b2da2ea6d68c9 to your computer and use it in GitHub Desktop.
Save seangwright/b7a7d9f7a6a79d63bd5b2da2ea6d68c9 to your computer and use it in GitHub Desktop.
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