Updating Startup.cs to incorporate use route name.

This commit is contained in:
harshgMSFT 2014-04-30 16:50:35 -07:00
parent 49e0d42ce7
commit ab323ac8df
1 changed files with 1 additions and 0 deletions

View File

@ -81,6 +81,7 @@ public class Startup
app.UseMvc(routes => app.UseMvc(routes =>
{ {
routes.MapRoute( routes.MapRoute(
null,
"{controller}/{action}", "{controller}/{action}",
new { controller = "Home", action = "Index" }); new { controller = "Home", action = "Index" });
}); });