diff --git a/UrlsAndRoutes/UrlsAndRoutes/App_Start/RouteConfig.cs b/UrlsAndRoutes/UrlsAndRoutes/App_Start/RouteConfig.cs index 82428c7..4b2a14a 100644 --- a/UrlsAndRoutes/UrlsAndRoutes/App_Start/RouteConfig.cs +++ b/UrlsAndRoutes/UrlsAndRoutes/App_Start/RouteConfig.cs @@ -11,6 +11,9 @@ namespace UrlsAndRoutes { public static void RegisterRoutes(RouteCollection routes) { + routes.MapRoute("ShopSchema", "Shop/{action}", + new { controller = "Home" }); + routes.MapRoute("", "X{controller}/{action}"); routes.MapRoute("MyRoute", "{controller}/{action}",