Add overload for NiceUrl
This commit is contained in:
@@ -492,6 +492,18 @@ namespace Umbraco.Web
|
||||
return Url(nodeId);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Returns a string with a friendly url from a node.
|
||||
/// IE.: Instead of having /482 (id) as an url, you can have
|
||||
/// /screenshots/developer/macros (spoken url)
|
||||
/// </summary>
|
||||
/// <param name="guid">Identifier for the node that should be returned</param>
|
||||
/// <returns>String with a friendly url from a node</returns>
|
||||
public string NiceUrl(Guid guid)
|
||||
{
|
||||
return Url(guid);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the url of a content identified by its identifier.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user