Revert "Removing unnecessary resolution"

This reverts commit 9b91b1b260.
This commit is contained in:
Thierry Fleury 2015-11-29 18:03:58 +01:00
parent af76305088
commit 5b53671a2a

View File

@ -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;
}