From ec47091582aaee1772cacb3f24971b82913ce0dd Mon Sep 17 00:00:00 2001 From: Nathan Heskew Date: Thu, 4 Nov 2010 15:25:16 -0700 Subject: [PATCH] Making BlogPost and Page types "draftable" by default --HG-- branch : dev --- src/Orchard.Web/Modules/Orchard.Setup/Services/SetupService.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Orchard.Web/Modules/Orchard.Setup/Services/SetupService.cs b/src/Orchard.Web/Modules/Orchard.Setup/Services/SetupService.cs index 30f83c52f..eb398e92a 100644 --- a/src/Orchard.Web/Modules/Orchard.Setup/Services/SetupService.cs +++ b/src/Orchard.Web/Modules/Orchard.Setup/Services/SetupService.cs @@ -218,6 +218,7 @@ namespace Orchard.Setup.Services { .WithPart("CommentsPart") .WithPart("TagsPart") .WithPart("LocalizationPart") + .Draftable() .Indexed() ); contentDefinitionManager.AlterTypeDefinition("Page", cfg => cfg @@ -228,6 +229,7 @@ namespace Orchard.Setup.Services { .WithPart("TagsPart") .WithPart("LocalizationPart") .Creatable() + .Draftable() .Indexed() ); contentDefinitionManager.AlterPartDefinition("BodyPart", cfg => cfg