https://dev.azure.com/umbraco/D-Team%20Tracker/_workitems/edit/6586 - Migrated DashboardController and BackOfficeAssetsController

This commit is contained in:
Bjarke Berg
2020-05-19 09:52:58 +02:00
parent 4ca6868553
commit 35680bba46
11 changed files with 241 additions and 124 deletions

View File

@@ -31,7 +31,13 @@ namespace Umbraco.Web.BackOffice.Controllers
private readonly ILocalizedTextService _textService;
private readonly IGridConfig _gridConfig;
public BackOfficeController(IRuntimeMinifier runtimeMinifier, IGlobalSettings globalSettings, IHostingEnvironment hostingEnvironment, IUmbracoContextAccessor umbracoContextAccessor, ILocalizedTextService textService, IGridConfig gridConfig)
public BackOfficeController(
IRuntimeMinifier runtimeMinifier,
IGlobalSettings globalSettings,
IHostingEnvironment hostingEnvironment,
IUmbracoContextAccessor umbracoContextAccessor,
ILocalizedTextService textService,
IGridConfig gridConfig)
{
_runtimeMinifier = runtimeMinifier;
_globalSettings = globalSettings;
@@ -107,5 +113,7 @@ namespace Umbraco.Web.BackOffice.Controllers
{
return new JsonNetResult { Data = _gridConfig.EditorsConfig.Editors, Formatting = Formatting.None };
}
}
}