Updates user section routing so that it has nice urls

This commit is contained in:
Shannon
2019-01-31 11:03:25 +11:00
parent 2036da5e84
commit dcacff0124
6 changed files with 22 additions and 23 deletions

View File

@@ -21,7 +21,7 @@ namespace Umbraco.Web.Trees
var root = base.CreateRootNode(queryStrings);
//this will load in a custom UI instead of the dashboard for the root node
root.RoutePath = string.Format("{0}/{1}/{2}", Constants.Applications.Users, Constants.Trees.Users, "overview");
root.RoutePath = $"{Constants.Applications.Users}/{Constants.Trees.Users}/users";
root.Icon = "icon-users";
root.HasChildren = false;