From af51f0b17b3fc64eb6082fb18c0d18792b2596f3 Mon Sep 17 00:00:00 2001 From: Sipke Schoorstra Date: Tue, 23 Sep 2014 16:13:03 -0700 Subject: [PATCH] Configuring ProjectionPage to be Listable by default. --- src/Orchard.Web/Modules/Orchard.Projections/Migrations.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Orchard.Web/Modules/Orchard.Projections/Migrations.cs b/src/Orchard.Web/Modules/Orchard.Projections/Migrations.cs index 1e14553f3..8ee643ce6 100644 --- a/src/Orchard.Web/Modules/Orchard.Projections/Migrations.cs +++ b/src/Orchard.Web/Modules/Orchard.Projections/Migrations.cs @@ -261,6 +261,8 @@ namespace Orchard.Projections { .WithSetting("Stereotype", "MenuItem") ); + ContentDefinitionManager.AlterTypeDefinition("ProjectionPage", cfg => cfg.Listable()); + return 3; }