mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-04-05 21:01:35 +08:00
Revert "Removing unnecessary resolution"
This reverts commit 9b91b1b260
.
This commit is contained in:
parent
af76305088
commit
5b53671a2a
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user