Ensure all back office controllers are plugin controllers and use constant

This commit is contained in:
Shannon
2020-08-04 12:27:21 +10:00
parent 03bb780c16
commit 4edf7fdf83
26 changed files with 162 additions and 147 deletions

View File

@@ -40,7 +40,7 @@ namespace Umbraco.Web.BackOffice.Controllers
/// This controller is decorated with the UmbracoApplicationAuthorizeAttribute which means that any user requesting
/// access to ALL of the methods on this controller will need access to the member application.
/// </remarks>
[PluginController("UmbracoApi")]
[PluginController(Constants.Web.Mvc.BackOfficeApiArea)]
[UmbracoApplicationAuthorize(Constants.Applications.Members)]
[OutgoingNoHyphenGuidFormat]
public class MemberController : ContentControllerBase