Move the tree from developer section to settings section - as we say goodbye to the developer section
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user