From 4b7d823acae96a4f5c65cb1ea3e767eb11456232 Mon Sep 17 00:00:00 2001 From: Elitsa Marinovska Date: Tue, 17 Mar 2020 10:28:03 +0100 Subject: [PATCH] Injecting the abstraction whenever necessary --- .../Umbraco/Views/AuthorizeUpgrade.cshtml | 2 +- .../Umbraco/Views/Default.cshtml | 4 ++-- src/Umbraco.Web/Composing/Current.cs | 18 +++++++++++------- .../Editors/BackOfficeController.cs | 16 ++++++++++------ .../Editors/BackOfficeServerVariables.cs | 9 ++++++--- .../Editors/PackageInstallController.cs | 8 ++++++-- src/Umbraco.Web/Editors/PreviewController.cs | 8 ++++++-- .../HtmlHelperBackOfficeExtensions.cs | 9 +++++---- .../Install/Controllers/InstallController.cs | 15 +++++++++++++-- .../ClientDependencyConfiguration.cs | 11 +++++++---- 10 files changed, 67 insertions(+), 33 deletions(-) diff --git a/src/Umbraco.Web.UI/Umbraco/Views/AuthorizeUpgrade.cshtml b/src/Umbraco.Web.UI/Umbraco/Views/AuthorizeUpgrade.cshtml index e41185d74b..496d806f2c 100644 --- a/src/Umbraco.Web.UI/Umbraco/Views/AuthorizeUpgrade.cshtml +++ b/src/Umbraco.Web.UI/Umbraco/Views/AuthorizeUpgrade.cshtml @@ -48,7 +48,7 @@ redirectUrl = Url.Action("AuthorizeUpgrade", "BackOffice") }); } - @Html.BareMinimumServerVariablesScript(Url, externalLoginUrl, Model.Features, Model.GlobalSettings, Model.UmbracoVersion, Model.UmbracoSettingsSection, Model.IOHelper, Model.TreeCollection, Model.HttpContextAccessor, Model.HostingEnvironment, Model.RuntimeSettings) + @Html.BareMinimumServerVariablesScript(Url, externalLoginUrl, Model.Features, Model.GlobalSettings, Model.UmbracoVersion, Model.UmbracoSettingsSection, Model.IOHelper, Model.TreeCollection, Model.HttpContextAccessor, Model.HostingEnvironment, Model.RuntimeSettings, Current.RuntimeMinifier)