We have moved to GitHub Issues
Created by Stephan 02 Aug 2013, 08:56:26 Updated by Stephan 10 Oct 2014, 09:36:08
Relates to: U4-4879
Relates to: U4-5627
At the moment UmbracoContext.UrlProvider is internal so it can't be accessed by user code. In views, controllers, etc. there's the UmbracoHelper which gives access to the NiceUrl() methods, but outside of these one needs to create an UmbracoHelper just to get the url of a node. Would be easier to do UmbracoContext.Current.UrlProvider.GetUrl(id).
Or would this clutter the UmbracoContext? Or maybe it's simpler to tell people to just instanciate an UmbracoHelper, so the same syntax is used everywhere?
@zpqrtbnk what is the status of this? I'm assigning to 7.2 since I'm assuming this is pretty straightforward?
Should have been done long ago. Taking care of it.
Type: Feature (request)
Backwards Compatible: True
Due in version: 7.2.0