Fixes group node route

This commit is contained in:
Shannon
2018-10-16 18:08:57 +11:00
parent 10873c1dfc
commit a100d321f6
3 changed files with 6 additions and 3 deletions

View File

@@ -34,12 +34,13 @@ namespace Umbraco.Web.Models.Trees
/// </summary>
/// <param name="children"></param>
/// <returns></returns>
public static TreeRootNode CreateGroupNode(TreeNodeCollection children)
public static TreeRootNode CreateGroupNode(TreeNodeCollection children, string section)
{
var sectionRoot = new TreeRootNode(RootId, string.Empty, string.Empty)
{
IsGroup = true,
Children = children
Children = children,
RoutePath = section
};
return sectionRoot;