This commit is contained in:
Bjarke Berg
2020-05-29 08:05:45 +02:00
parent a7a9b8204e
commit 878e5056b5
14 changed files with 129 additions and 58 deletions

View File

@@ -17,7 +17,7 @@ using Constants = Umbraco.Core.Constants;
namespace Umbraco.Web.Editors
{
[PluginController("UmbracoApi")]
[TypeFilter(typeof(UmbracoTreeAuthorizeAttribute), Arguments = new object[]{new string[]{Constants.Trees.Templates} })]
[UmbracoTreeAuthorizeAttribute(Constants.Trees.Templates)]
public class TemplateController : BackOfficeNotificationsController
{
private readonly IFileService _fileService;