Route wrong in global.asax

Oct 8, 2011 at 8:13 AM

Right route has to be registered as follows:

 routes.MapRoute(
                "Default", // Route name
                "{controller}/{id}/{action}", // URL with parameters
                new { controller = "Home", action = "Index", id = UrlParameter.Optional } // Parameter defaults