mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-09-24 13:33:34 +08:00
20 lines
603 B
C#
20 lines
603 B
C#
using JetBrains.Annotations;
|
|
using Orchard.Comments.Models;
|
|
using Orchard.ContentManagement;
|
|
using Orchard.ContentManagement.Drivers;
|
|
|
|
namespace Orchard.Comments.Controllers {
|
|
[UsedImplicitly]
|
|
public class CommentDriver : ContentItemDriver<Comment> {
|
|
public readonly static ContentType ContentType = new ContentType {
|
|
Name = "comment",
|
|
DisplayName = "Comment"
|
|
};
|
|
|
|
protected override ContentType GetContentType() {
|
|
return ContentType;
|
|
}
|
|
|
|
protected override string Prefix { get { return ""; } }
|
|
}
|
|
} |