- Bringing the Comments module back.

--HG--
branch : dev
This commit is contained in:
Suha Can
2010-09-15 12:13:19 -07:00
parent 16df5c2955
commit 668f356331
30 changed files with 423 additions and 418 deletions

View File

@@ -1,20 +1,10 @@
using JetBrains.Annotations;
using Orchard.Comments.Models;
using Orchard.ContentManagement;
using Orchard.ContentManagement.Drivers;
namespace Orchard.Comments.Drivers {
[UsedImplicitly]
public class CommentPartDriver : ContentItemDriver<CommentPart> {
public readonly static ContentType ContentType = new ContentType {
Name = "Comment",
DisplayName = "Comment"
};
protected override ContentType GetContentType() {
return ContentType;
}
protected override string Prefix { get { return ""; } }
public class CommentPartDriver : ContentPartDriver<CommentPart> {
protected override string Prefix { get { return "Comments"; } }
}
}