Fixing all the TODO, FIXME & HACK comments so they all follow the same layout.
This commit is contained in:
committed by
Sebastiaan Janssen
parent
d31e25281d
commit
193e24afd2
@@ -80,7 +80,7 @@ namespace Umbraco.Web.Runtime
|
||||
// we should stop injecting UmbracoContext and always inject IUmbracoContextAccessor, however at the moment
|
||||
// there are tons of places (controllers...) which require UmbracoContext in their ctor - so let's register
|
||||
// a way to inject the UmbracoContext - and register it per-request to be more efficient
|
||||
//TODO: stop doing this
|
||||
// TODO: stop doing this
|
||||
composition.Register(factory => factory.GetInstance<IUmbracoContextAccessor>().UmbracoContext, Lifetime.Request);
|
||||
|
||||
// register the umbraco helper
|
||||
|
||||
Reference in New Issue
Block a user