mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
Typo in class name
--HG-- branch : theming
This commit is contained in:
@@ -119,7 +119,7 @@ namespace Orchard.Environment {
|
|||||||
|
|
||||||
ControllerBuilder.Current.SetControllerFactory(new OrchardControllerFactory());
|
ControllerBuilder.Current.SetControllerFactory(new OrchardControllerFactory());
|
||||||
ViewEngines.Engines.Clear();
|
ViewEngines.Engines.Clear();
|
||||||
ViewEngines.Engines.Add(new ThemeArareViewEngineShim());
|
ViewEngines.Engines.Add(new ThemeAwareViewEngineShim());
|
||||||
|
|
||||||
var hostContainer = new DefaultOrchardHostContainer(container);
|
var hostContainer = new DefaultOrchardHostContainer(container);
|
||||||
//MvcServiceLocator.SetCurrent(hostContainer);
|
//MvcServiceLocator.SetCurrent(hostContainer);
|
||||||
|
|||||||
@@ -4,8 +4,8 @@ using System.Web.Mvc;
|
|||||||
using Orchard.Environment;
|
using Orchard.Environment;
|
||||||
|
|
||||||
namespace Orchard.Mvc.ViewEngines.ThemeAwareness {
|
namespace Orchard.Mvc.ViewEngines.ThemeAwareness {
|
||||||
public class ThemeArareViewEngineShim : IViewEngine, IShim {
|
public class ThemeAwareViewEngineShim : IViewEngine, IShim {
|
||||||
public ThemeArareViewEngineShim() {
|
public ThemeAwareViewEngineShim() {
|
||||||
OrchardHostContainerRegistry.RegisterShim(this);
|
OrchardHostContainerRegistry.RegisterShim(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user