From b7713f9386de402cc4393211bf058b129e40671e Mon Sep 17 00:00:00 2001 From: Bjarke Berg Date: Wed, 20 Nov 2024 08:53:34 +0100 Subject: [PATCH] Partly revert of https://github.com/umbraco/Umbraco-CMS/pull/17539 due to cross platform issues (#17583) --- src/Umbraco.Core/IO/ViewHelper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Umbraco.Core/IO/ViewHelper.cs b/src/Umbraco.Core/IO/ViewHelper.cs index 0e0ca72ed4..059ce2a2e9 100644 --- a/src/Umbraco.Core/IO/ViewHelper.cs +++ b/src/Umbraco.Core/IO/ViewHelper.cs @@ -91,7 +91,7 @@ public class ViewHelper : IViewHelper return t.Content; } - public string ViewPath(string alias) => _viewFileSystem.GetRelativePath(CultureInfo.InvariantCulture.TextInfo.ToTitleCase(alias.Replace(" ", string.Empty)) + ".cshtml"); + public string ViewPath(string alias) => _viewFileSystem.GetRelativePath(alias.Replace(" ", string.Empty) + ".cshtml"); private string SaveTemplateToFile(ITemplate template) {