Ensure all back office controllers are plugin controllers and use constant
This commit is contained in:
@@ -2,15 +2,17 @@
|
||||
using Umbraco.Core.Hosting;
|
||||
using Umbraco.Web.BackOffice.Filters;
|
||||
using Umbraco.Web.BackOffice.Controllers;
|
||||
|
||||
using Umbraco.Web.Common.Attributes;
|
||||
using Umbraco.Web.Common.Controllers;
|
||||
|
||||
namespace Umbraco.Web.BackOffice.Profiling
|
||||
{
|
||||
/// <summary>
|
||||
/// The API controller used to display the state of the web profiler
|
||||
/// </summary>
|
||||
[UmbracoApplicationAuthorizeAttribute(Constants.Applications.Settings)]
|
||||
public class WebProfilingController : UmbracoAuthorizedJsonController
|
||||
[PluginController(Constants.Web.Mvc.BackOfficeApiArea)]
|
||||
[UmbracoApplicationAuthorize(Constants.Applications.Settings)]
|
||||
public class WebProfilingController : UmbracoAuthorizedJsonController
|
||||
{
|
||||
private readonly IHostingEnvironment _hosting;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user