Fix server routes.

This commit is contained in:
2018-12-29 13:39:53 +00:00
parent fc4bfad044
commit d55cb55a5f
6 changed files with 27 additions and 0 deletions

View File

@@ -9,6 +9,8 @@ namespace DiscImageChef.Server
{
routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
routes.MapMvcAttributeRoutes();
routes.MapRoute("Default", "{controller}/{action}/{id}",
new {controller = "Home", action = "Index", id = UrlParameter.Optional});
}