Move constants
This commit is contained in:
@@ -7,8 +7,8 @@ using Constants = Umbraco.Core.Constants;
|
||||
|
||||
namespace Umbraco.Web.Trees
|
||||
{
|
||||
[UmbracoTreeAuthorize(ConstantsCore.Trees.LogViewer)]
|
||||
[Tree(ConstantsCore.Applications.Settings, ConstantsCore.Trees.LogViewer, SortOrder= 9, TreeGroup = ConstantsCore.Trees.Groups.Settings)]
|
||||
[UmbracoTreeAuthorize(Constants.Trees.LogViewer)]
|
||||
[Tree(Constants.Applications.Settings, Constants.Trees.LogViewer, SortOrder= 9, TreeGroup = Constants.Trees.Groups.Settings)]
|
||||
[PluginController("UmbracoTrees")]
|
||||
[CoreTree]
|
||||
public class LogViewerTreeController : TreeController
|
||||
@@ -34,7 +34,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}", ConstantsCore.Applications.Settings, ConstantsCore.Trees.LogViewer, "overview");
|
||||
root.RoutePath = string.Format("{0}/{1}/{2}", Constants.Applications.Settings, Constants.Trees.LogViewer, "overview");
|
||||
root.Icon = "icon-box-alt";
|
||||
root.HasChildren = false;
|
||||
root.MenuUrl = null;
|
||||
|
||||
Reference in New Issue
Block a user