Díky za rychlou reakci. S vaším kódem mi to vrací: The resource cannot be found. Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly. Requested URL: /cs/Uzivatel Pokud změním routu takto:
routes.MapRoute(
name: "UserCZ",
url: "cs/Uzivatel/{action}/{id}",
defaults: new { controller = "User", action = "Index", id = UrlParameter.Optional }
);
pak to funguje ale musím adresu zadat celou včetně id: /cs/Uzivatel/Index/1 Co s tím? Díky.
|