Sha256: 927d8c3ba52114bc65d2a993cc93c62f9aa2f3c98fadc800073c0526698e5ba0
Contents?: true
Size: 871 Bytes
Versions: 2
Compression:
Stored size: 871 Bytes
Contents
# Load all our classes require __DIR__ 'comments/model/comment.rb' require __DIR__ 'comments/controller/comments' require __DIR__ 'comments/controller/comments_form' require __DIR__ 'comments/liquid/comments' require __DIR__ 'comments/liquid/comment_form' Liquid::Template.register_tag('comments' , Comments::Liquid::Comments) Liquid::Template.register_tag('comment_form', Comments::Liquid::CommentForm) Zen::Package.add do |p| p.name = 'Comments' p.author = 'Yorick Peterse' p.url = 'http://yorickpeterse.com/' p.about = "Allow users to post comments on any given section entry (as long as the section allows it)." p.identifier = 'com.zen.comments' p.directory = __DIR__('comments') p.migration_dir = __DIR__('../migrations') p.menu = [{ :title => "Comments", :url => "admin/comments" }] end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
zen-0.2.4.1 | lib/zen/package/comments/lib/comments.rb |
zen-0.2.4 | lib/zen/package/comments/lib/comments.rb |