mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-04-05 21:01:35 +08:00
Merge pull request #6528 from dcinzona/razor-view-engine
[Fixes #6514] Update RazorViewEngineProvider.cs
This commit is contained in:
commit
a91b06f1b5
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user