mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
Revert "Removing unnecessary resolution"
This reverts commit 9b91b1b260.
This commit is contained in:
@@ -57,6 +57,7 @@ namespace Orchard.Mvc {
|
||||
var baseUrl = new Func<string>(() => siteService.GetSiteSettings().BaseUrl);
|
||||
var httpContextBase = new HttpContextPlaceholder(baseUrl);
|
||||
|
||||
context.Resolve<IWorkContextAccessor>().CreateWorkContextScope(httpContextBase);
|
||||
return httpContextBase;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user