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

@@ -30,7 +30,7 @@ using Umbraco.Web.Editors;
// ref: https://www.exceptionnotfound.net/the-asp-net-web-api-exception-handling-pipeline-a-guided-tour/
[PluginController("UmbracoApi")]
//[PrefixlessBodyModelValidator]
[TypeFilter(typeof(UmbracoApplicationAuthorizeAttribute), Arguments = new object[]{new string []{Constants.Applications.Settings}})]
[UmbracoApplicationAuthorizeAttribute(Constants.Applications.Settings)]
public class CodeFileController : BackOfficeNotificationsController
{
private readonly IIOHelper _ioHelper;