fixes up legacy trees with the correct alias and forces legacy root nodes to load the dashboard route.

This commit is contained in:
Shannon
2013-08-15 12:57:56 +10:00
parent 3b749073d7
commit 66cdd90994
3 changed files with 5 additions and 3 deletions

View File

@@ -139,7 +139,7 @@ namespace Umbraco.Web.Trees
{
Children = legacyAttempt.Result
};
sectionRoot.AdditionalData.Add("treeType", Type.GetType(configTree.Type).FullName);
sectionRoot.AdditionalData.Add("treeAlias", configTree.Alias);
return sectionRoot;
}