mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
#18546: Adding missing prefix in BlogPartDriver
Work Item: 18546 --HG-- branch : 1.x
This commit is contained in:
@@ -8,6 +8,10 @@ using Orchard.ContentManagement.Drivers;
|
|||||||
namespace Orchard.Blogs.Drivers {
|
namespace Orchard.Blogs.Drivers {
|
||||||
[UsedImplicitly]
|
[UsedImplicitly]
|
||||||
public class BlogPartDriver : ContentPartDriver<BlogPart> {
|
public class BlogPartDriver : ContentPartDriver<BlogPart> {
|
||||||
|
protected override string Prefix {
|
||||||
|
get { return "BlogPart"; }
|
||||||
|
}
|
||||||
|
|
||||||
protected override DriverResult Display(BlogPart part, string displayType, dynamic shapeHelper) {
|
protected override DriverResult Display(BlogPart part, string displayType, dynamic shapeHelper) {
|
||||||
return Combined(
|
return Combined(
|
||||||
ContentShape("Parts_Blogs_Blog_Manage",
|
ContentShape("Parts_Blogs_Blog_Manage",
|
||||||
|
Reference in New Issue
Block a user