Gets view paths to load in dynamically based on whether a core or plugin tree is rendering, this allows us to store view files based on conventions for packages. Completes: U4-2849 Ensure editor views, etc... can exist outside of the /umbraco folder for package devs
This commit is contained in:
@@ -25,8 +25,7 @@ namespace Umbraco.Web
|
||||
/// <returns></returns>
|
||||
internal static IEnumerable<Type> ResolveAttributedTreeControllers(this PluginManager resolver)
|
||||
{
|
||||
//don't cache the result of this because it is only used once during app startup, caching will just add a bit more mem overhead for no reason
|
||||
return resolver.ResolveTypesWithAttribute<TreeController, TreeAttribute>(cacheResult: false);
|
||||
return resolver.ResolveTypesWithAttribute<TreeController, TreeAttribute>();
|
||||
}
|
||||
|
||||
internal static IEnumerable<Type> ResolveSurfaceControllers(this PluginManager resolver)
|
||||
|
||||
Reference in New Issue
Block a user