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

@@ -10,8 +10,8 @@ namespace Umbraco.Web.BackOffice.Profiling
/// <summary>
/// The API controller used to display the state of the web profiler
/// </summary>
[TypeFilter(typeof(UmbracoApplicationAuthorizeAttribute), Arguments = new object[]{new string []{Constants.Applications.Settings}})]
public class WebProfilingController : UmbracoAuthorizedJsonController
[UmbracoApplicationAuthorizeAttribute(Constants.Applications.Settings)]
public class WebProfilingController : UmbracoAuthorizedJsonController
{
private readonly IHostingEnvironment _hosting;