mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-09-22 12:09:41 +08:00
- Add area scenario: remove the area extension type since it's implicit.
--HG-- branch : dev
This commit is contained in:
@@ -53,7 +53,7 @@ namespace Orchard.Mvc.ViewEngines {
|
||||
|
||||
|
||||
var modules = _extensionManager.ActiveExtensions()
|
||||
.Where(x => x.Descriptor.ExtensionType == "Module" || x.Descriptor.ExtensionType == "Area");
|
||||
.Where(x => x.Descriptor.ExtensionType == "Module");
|
||||
|
||||
var moduleLocations = modules.Select(x => Path.Combine(x.Descriptor.Location, x.Descriptor.Name));
|
||||
var moduleViewEngines = _viewEngineProviders
|
||||
|
Reference in New Issue
Block a user