Update trees using [CoreTree] attribute to use new property from our constants
This commit is contained in:
@@ -21,7 +21,7 @@ namespace Umbraco.Web.Trees
|
||||
[UmbracoApplicationAuthorize(Constants.Applications.Content)]
|
||||
[Tree(Constants.Applications.Settings, Constants.Trees.ContentBlueprints, null, sortOrder: 10)]
|
||||
[PluginController("UmbracoTrees")]
|
||||
[CoreTree]
|
||||
[CoreTree(TreeGroup = Constants.Trees.Groups.Settings)]
|
||||
public class ContentBlueprintTreeController : TreeController
|
||||
{
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ namespace Umbraco.Web.Trees
|
||||
[UmbracoTreeAuthorize(Constants.Trees.DocumentTypes)]
|
||||
[Tree(Constants.Applications.Settings, Constants.Trees.DocumentTypes, null, sortOrder: 0)]
|
||||
[Mvc.PluginController("UmbracoTrees")]
|
||||
[CoreTree]
|
||||
[CoreTree(TreeGroup = Constants.Trees.Groups.Settings)]
|
||||
public class ContentTypeTreeController : TreeController, ISearchableTree
|
||||
{
|
||||
protected override TreeNodeCollection GetTreeNodes(string id, FormDataCollection queryStrings)
|
||||
|
||||
@@ -19,7 +19,7 @@ namespace Umbraco.Web.Trees
|
||||
[UmbracoTreeAuthorize(Constants.Trees.DataTypes)]
|
||||
[Tree(Constants.Applications.Settings, Constants.Trees.DataTypes, null, sortOrder:7)]
|
||||
[PluginController("UmbracoTrees")]
|
||||
[CoreTree]
|
||||
[CoreTree(TreeGroup = Constants.Trees.Groups.Settings)]
|
||||
public class DataTypeTreeController : TreeController, ISearchableTree
|
||||
{
|
||||
protected override TreeNodeCollection GetTreeNodes(string id, FormDataCollection queryStrings)
|
||||
|
||||
@@ -11,7 +11,7 @@ namespace Umbraco.Web.Trees
|
||||
{
|
||||
[UmbracoTreeAuthorize(Constants.Trees.Dictionary)]
|
||||
[Mvc.PluginController("UmbracoTrees")]
|
||||
[CoreTree]
|
||||
[CoreTree(TreeGroup = Constants.Trees.Groups.Settings)]
|
||||
[Tree(Constants.Applications.Settings, Constants.Trees.Dictionary, null, sortOrder: 3)]
|
||||
public class DictionaryTreeController : TreeController
|
||||
{
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace Umbraco.Web.Trees
|
||||
[UmbracoTreeAuthorize(Constants.Trees.Languages)]
|
||||
[Tree(Constants.Applications.Settings, Constants.Trees.Languages, null, sortOrder: 5)]
|
||||
[PluginController("UmbracoTrees")]
|
||||
[CoreTree]
|
||||
[CoreTree(TreeGroup = Constants.Trees.Groups.Settings)]
|
||||
public class LanguageTreeController : TreeController
|
||||
{
|
||||
protected override TreeNodeCollection GetTreeNodes(string id, FormDataCollection queryStrings)
|
||||
|
||||
@@ -18,7 +18,7 @@ namespace Umbraco.Web.Trees
|
||||
[UmbracoTreeAuthorize(Constants.Trees.MediaTypes)]
|
||||
[Tree(Constants.Applications.Settings, Constants.Trees.MediaTypes, null, sortOrder:9)]
|
||||
[Mvc.PluginController("UmbracoTrees")]
|
||||
[CoreTree]
|
||||
[CoreTree(TreeGroup = Constants.Trees.Groups.Settings)]
|
||||
public class MediaTypeTreeController : TreeController, ISearchableTree
|
||||
{
|
||||
protected override TreeNodeCollection GetTreeNodes(string id, FormDataCollection queryStrings)
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace Umbraco.Web.Trees
|
||||
[Tree(Constants.Applications.Settings, Constants.Trees.PartialViews, null, sortOrder: 2)]
|
||||
[UmbracoTreeAuthorize(Constants.Trees.PartialViews)]
|
||||
[PluginController("UmbracoTrees")]
|
||||
[CoreTree]
|
||||
[CoreTree(TreeGroup = Constants.Trees.Groups.Templating)]
|
||||
public class PartialViewsTreeController : FileSystemTreeController
|
||||
{
|
||||
protected override IFileSystem FileSystem => Current.FileSystems.PartialViewsFileSystem;
|
||||
|
||||
@@ -21,7 +21,7 @@ namespace Umbraco.Web.Trees
|
||||
[UmbracoTreeAuthorize(Constants.Trees.Templates)]
|
||||
[Tree(Constants.Applications.Settings, Constants.Trees.Templates, null, sortOrder:1)]
|
||||
[PluginController("UmbracoTrees")]
|
||||
[CoreTree]
|
||||
[CoreTree(TreeGroup = Constants.Trees.Groups.Templating)]
|
||||
public class TemplatesTreeController : TreeController, ISearchableTree
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user