Undoing my fix for the homepage link because it's way too late to debug tests

--HG--
branch : dev
This commit is contained in:
Erik Porter
2010-03-09 02:36:31 -08:00
parent 069a6f5439
commit 429ba7e054

View File

@@ -35,7 +35,7 @@ namespace Orchard.UI.Navigation {
public string GetUrl(string menuItemUrl, RouteValueDictionary routeValueDictionary) {
var url = string.IsNullOrEmpty(menuItemUrl) && (routeValueDictionary == null || routeValueDictionary.Count == 0)
? "~/"
? null
: !string.IsNullOrEmpty(menuItemUrl)
? menuItemUrl
: _urlHelper.RouteUrl(routeValueDictionary);