You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
routes.MapRoute(
name: "DefaultLocalized",
url: "{lang}/{controller}/{action}/{id}",
constraints: new { lang = @"(\w{2})|(\w{2}-\w{2})" }, // en or en-US
defaults: new { controller = "Home", action = "Index", id = UrlParameter.Optional });
The text was updated successfully, but these errors were encountered:
Hi,
I already configure the MvcSiteMapProvider but when i use with custom route generate right breadcrumb titles with urls without controller and action.
kindly find sample from my route and xml configuration.
and route
routes.MapRoute(
name: "LookupsLocalized",
url: "{lang}/Lookups/{controller}/{action}/{id}",
defaults: new { controller = "Home", action = "Index", id = UrlParameter.Optional }
, namespaces: new[] { "Linkdev.MofaicAid.Internal.Web.Controllers.Lookups" }
);
routes.MapRoute(
name: "DefaultLocalized",
url: "{lang}/{controller}/{action}/{id}",
constraints: new { lang = @"(\w{2})|(\w{2}-\w{2})" }, // en or en-US
defaults: new { controller = "Home", action = "Index", id = UrlParameter.Optional });
The text was updated successfully, but these errors were encountered: