Updated the tree structure to support the root section node. Now we actually get a menu listing for section roots when there is only one tree (i.e. media/content).

This commit is contained in:
Shannon
2013-07-15 17:56:34 +10:00
parent 7926318709
commit 28eff9b34b
11 changed files with 145 additions and 48 deletions

View File

@@ -48,7 +48,7 @@ namespace Umbraco.Web
//set the area to the plugin area
area = metaData.AreaName;
}
return url.GetUmbracoApiService(actionName, ControllerExtensions.GetControllerName(apiControllerType), area);
return url.GetUmbracoApiService(actionName, ControllerExtensions.GetControllerName(apiControllerType), area, id);
}
/// <summary>