From 074dfc7e29a563da0a94031411dd8f800baf7c30 Mon Sep 17 00:00:00 2001 From: Shannon Date: Tue, 29 Dec 2015 12:29:36 +0100 Subject: [PATCH] Adds Models Builder to nuspec, fixes build error --- build/NuSpecs/UmbracoCms.Core.nuspec | 1 + src/Umbraco.Web/Editors/ContentTypeController.cs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/build/NuSpecs/UmbracoCms.Core.nuspec b/build/NuSpecs/UmbracoCms.Core.nuspec index 6852b04510..4fb2d62d9e 100644 --- a/build/NuSpecs/UmbracoCms.Core.nuspec +++ b/build/NuSpecs/UmbracoCms.Core.nuspec @@ -38,6 +38,7 @@ + diff --git a/src/Umbraco.Web/Editors/ContentTypeController.cs b/src/Umbraco.Web/Editors/ContentTypeController.cs index 918aa34e25..b875687dd0 100644 --- a/src/Umbraco.Web/Editors/ContentTypeController.cs +++ b/src/Umbraco.Web/Editors/ContentTypeController.cs @@ -172,7 +172,7 @@ namespace Umbraco.Web.Editors Layout = null; }"; - template.Content = design.Replace("IPublishedContent", contentType.Name.ToSafeAlias(false)); + template.Content = design.Replace("IPublishedContent", contentTypeSave.Name.ToSafeAlias(false)); Services.FileService.SaveTemplate(template); }