Add ReSharper support to the Razor view engine

Fixes #6815
This commit is contained in:
Brian Roskamp
2016-05-26 15:56:23 -04:00
committed by Sébastien Ros
parent 6198a9d4fb
commit a90bdde699

View File

@@ -69,6 +69,7 @@ namespace Orchard.Mvc.ViewEngines.Razor {
.SelectMany(x => new[] {
x + "/Views/{0}.cshtml",
})
.Concat(new[] { "~/Views/{1}/{0}.cshtml", "~/Views/{0}.cshtml" })
.ToArray();
//Logger.Debug("UniversalFormats (module): \r\n\t-{0}", string.Join("\r\n\t-", universalFormats));