Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
change route provider for index
  • Loading branch information
Jeremy Mill committed Nov 19, 2015
1 parent f567a04 commit e2a6190
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions TeamDBAwesome/TeamDBAwesome/App_Start/RouteConfig.cs
Expand Up @@ -15,8 +15,10 @@ namespace TeamDBAwesome

routes.MapRoute(
name: "Default",
url: "{controller}/{action}/{id}",
defaults: new { controller = "Home", action = "Index", id = UrlParameter.Optional }
//url: "{controller}/{action}/{id}",
url: "{ *anything}",
//defaults: new { controller = "Home", action = "Index", id = UrlParameter.Optional }
defaults: new { controller = "Home", action = "Index" }
);
}
}
Expand Down

0 comments on commit e2a6190

Please sign in to comment.