Changing parts shapes to use the "Parts_" prefix convention.

Similart to content items now (Items_*) and what fields will use (Fields_*)

--HG--
branch : dev
This commit is contained in:
Nathan Heskew
2010-10-11 09:45:29 -07:00
parent ddca57edd4
commit 71ead6bae3
50 changed files with 57 additions and 55 deletions

View File

@@ -45,7 +45,7 @@ namespace Orchard.Core.Routable.Drivers {
}
protected override DriverResult Display(RoutePart part, string displayType, dynamic shapeHelper) {
var routePart = shapeHelper.Routable_RoutePart(ContentPart: part, Title: part.Title);
var routePart = shapeHelper.Parts_Routable_RoutePart(ContentPart: part, Title: part.Title);
if (!string.IsNullOrWhiteSpace(displayType))
routePart.Metadata.Type = string.Format("{0}.{1}", routePart.Metadata.Type, displayType);
var location = part.GetLocation(displayType, "Header", "5");