First version of UpgradeTo14 module

--HG--
branch : autoroute
This commit is contained in:
Sebastien Ros
2012-02-02 16:46:30 -08:00
parent b5e69f827d
commit 8d2e44ee16
16 changed files with 452 additions and 53 deletions

View File

@@ -71,7 +71,7 @@ namespace Orchard.Specs.Bindings {
var contentTypeDefinition = new ContentTypeDefinition(name, name);
cdm.StoreTypeDefinition(contentTypeDefinition);
cdm.AlterTypeDefinition(name, cfg => cfg.WithPart("CommonPart").WithPart("BodyPart").WithPart("RoutePart").WithPart("ContainablePart").Creatable().Draftable());
cdm.AlterTypeDefinition(name, cfg => cfg.WithPart("CommonPart").WithPart("BodyPart").WithPart("AutoroutePart").WithPart("ContainablePart").Creatable().Draftable());
}
});
}