Fix ordering of views so the ordering is the same as v8

This commit is contained in:
Bjarke Berg
2021-05-07 10:34:39 +02:00
parent 2eb84f7d00
commit 10341a8d62

View File

@@ -31,9 +31,10 @@ namespace Umbraco.Cms.Web.Website.ViewEngines
{
string[] umbViewLocations = new string[]
{
"/Views/{0}.cshtml",
"/Views/Shared/{0}.cshtml",
"/Views/Partials/{0}.cshtml",
"/Views/MacroPartials/{0}.cshtml",
"/Views/{0}.cshtml"
};
viewLocations = umbViewLocations.Concat(viewLocations);