Move constants

This commit is contained in:
Bjarke Berg
2019-11-05 13:45:42 +01:00
parent befcabfced
commit 63bfc4c2c0
324 changed files with 1710 additions and 1704 deletions

View File

@@ -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;