Fixes script and partial views trees

This commit is contained in:
Shannon
2017-07-20 19:16:28 +10:00
parent 0b6ed42201
commit e76ad837b9
5 changed files with 31 additions and 10 deletions

View File

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