Allows the tree collection to be manipulated by devs on startup, renames some things

This commit is contained in:
Shannon
2019-01-17 18:38:55 +11:00
parent 3f89558ddb
commit 1667e914cd
8 changed files with 26 additions and 34 deletions

View File

@@ -60,7 +60,7 @@ namespace Umbraco.Web.Trees
if (string.IsNullOrEmpty(application)) throw new HttpResponseException(HttpStatusCode.NotFound);
//find all tree definitions that have the current application alias
var groupedTrees = _treeService.GetGroupedApplicationTrees(application);
var groupedTrees = _treeService.GetGroupedTrees(application);
var allTrees = groupedTrees.Values.SelectMany(x => x).ToList();
if (string.IsNullOrEmpty(tree) == false || allTrees.Count == 1)