Fixes script and partial views trees
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
using Umbraco.Core;
|
||||
using Umbraco.Core.IO;
|
||||
using Umbraco.Core.IO;
|
||||
using Umbraco.Web.Models.Trees;
|
||||
using Umbraco.Web.Mvc;
|
||||
using Umbraco.Web.WebApi.Filters;
|
||||
using Constants = Umbraco.Core.Constants;
|
||||
|
||||
namespace Umbraco.Web.Trees
|
||||
{
|
||||
@@ -8,6 +10,9 @@ namespace Umbraco.Web.Trees
|
||||
/// Tree for displaying partial view macros in the developer app
|
||||
/// </summary>
|
||||
[Tree(Constants.Applications.Developer, "partialViewMacros", null, sortOrder: 6)]
|
||||
[UmbracoTreeAuthorize(Constants.Trees.PartialViewMacros)]
|
||||
[PluginController("UmbracoTrees")]
|
||||
[CoreTree]
|
||||
public class PartialViewMacrosTreeController : FileSystemTreeController2
|
||||
{
|
||||
protected override IFileSystem2 FileSystem
|
||||
|
||||
Reference in New Issue
Block a user