Skip to content

Commit

Permalink
Partly revert of #17539 due to cross platform issues
Browse files Browse the repository at this point in the history
  • Loading branch information
bergmania committed Nov 19, 2024
1 parent 0f86cad commit 3778984
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Umbraco.Core/IO/ViewHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public string CreateView(ITemplate t, bool overWrite = false)
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)
{
Expand Down

0 comments on commit 3778984

Please sign in to comment.