default content type icon

This commit is contained in:
Per Ploug Krogslund
2015-08-18 13:21:16 +02:00
parent f4e1349a00
commit 5778a45c95

View File

@@ -96,6 +96,8 @@ namespace Umbraco.Web.Editors
public ContentTypeDisplay GetEmpty(int parentId)
{
var ct = new ContentType(parentId);
ct.Icon = "icon-doc";
var dto = Mapper.Map<IContentType, ContentTypeDisplay>(ct);
return dto;
}