mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-09-18 17:47:54 +08:00
Update RazorViewEngineProvider.cs
This commit is contained in:
@@ -35,6 +35,7 @@ namespace Orchard.Mvc.ViewEngines.Razor {
|
||||
// enable /Views/"EditorTemplates/+{templateName}
|
||||
var partialViewLocationFormats = new[] {
|
||||
parameters.VirtualPath + "/Views/{0}.cshtml",
|
||||
parameters.VirtualPath + "/Views/{1}/{0}.cshtml",
|
||||
};
|
||||
|
||||
//Logger.Debug("PartialViewLocationFormats (theme): \r\n\t-{0}", string.Join("\r\n\t-", partialViewLocationFormats));
|
||||
|
Reference in New Issue
Block a user