Move the tree from developer section to settings section - as we say goodbye to the developer section

This commit is contained in:
Warren Buckley
2018-10-03 17:43:42 +01:00
parent cb166526dc
commit 45b5cb0257
2 changed files with 4 additions and 3 deletions

View File

@@ -7,7 +7,7 @@ using Constants = Umbraco.Core.Constants;
namespace Umbraco.Web.Trees
{
[UmbracoTreeAuthorize(Constants.Trees.LogViewer)]
[Tree(Constants.Applications.Developer, Constants.Trees.LogViewer, null, sortOrder: 7)]
[Tree(Constants.Applications.Settings, Constants.Trees.LogViewer, null, sortOrder: 7)]
[PluginController("UmbracoTrees")]
[CoreTree]
public class LogViewerTreeController : TreeController
@@ -33,7 +33,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.Developer, Constants.Trees.LogViewer, "overview");
root.RoutePath = string.Format("{0}/{1}/{2}", Constants.Applications.Settings, Constants.Trees.LogViewer, "overview");
root.Icon = "icon-bug";
root.HasChildren = false;
root.MenuUrl = null;