Aligned property names in code with those in configuration.

This commit is contained in:
Andy Butland
2020-08-25 10:45:54 +02:00
parent 2c05718689
commit 967f0be705
32 changed files with 73 additions and 81 deletions

View File

@@ -77,7 +77,7 @@ namespace Umbraco.Web.BackOffice.Controllers
}
var viewPath = Path.Combine(
_globalSettings.UmbracoPath,
_globalSettings.Path,
Constants.Web.Mvc.BackOfficeArea,
ControllerExtensions.GetControllerName<PreviewController>() + ".cshtml")
.Replace("\\", "/"); // convert to forward slashes since it's a virtual path