Started getting the creation process working for data types, created custom mock data type trees and menu's to get it all up and running but is still in progress. Will finish that on Monday along with dynamically changing the pre-value editors based on the drop down changing.

This commit is contained in:
Shannon
2013-08-16 17:25:52 +10:00
parent 7c1687710b
commit ddccc378d5
10 changed files with 118 additions and 32 deletions

View File

@@ -96,11 +96,11 @@ namespace Umbraco.Web
routeName = string.Format("umbraco-{0}-{1}-{2}", "api", area, controllerName);
if (id == null)
{
return url.Link(routeName, new {controller = controllerName, action = actionName, area = area});
return url.Link(routeName, new {controller = controllerName, action = actionName});
}
else
{
return url.Link(routeName, new { controller = controllerName, action = actionName, area = area, id = id });
return url.Link(routeName, new { controller = controllerName, action = actionName, id = id });
}
}
}