Refactor getting urls

This commit is contained in:
Stephan
2018-04-29 20:02:38 +02:00
parent 7dd1efb29f
commit bcd0c95ec1
48 changed files with 512 additions and 522 deletions

View File

@@ -1166,7 +1166,8 @@ namespace Umbraco.Core
/// <param name="text">The text to filter.</param>
/// <param name="culture">The culture.</param>
/// <returns>The safe url segment.</returns>
public static string ToUrlSegment(this string text, CultureInfo culture) // fixme obsolete that one, use the string one?
// todo: obsolete that one and use the string one (requires changes to IShortStringHelper)
public static string ToUrlSegment(this string text, CultureInfo culture)
{
return Current.ShortStringHelper.CleanStringForUrlSegment(text, culture);
}