Sha256: d86f27c18bc2692eca21cbb0259c683302b2eab815c7493d1dca4342e95f1c5f

Contents?: true

Size: 868 Bytes

Versions: 2

Compression:

Stored size: 868 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.type        = 'extension'
  p.name        = 'Comments'
  p.author      = 'Yorick Peterse'
  p.url         = 'http://yorickpeterse.com/'
  p.version     = '1.0'
  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.menu = [{
    :title => "Comments",
    :url   => "admin/comments"
  }]
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
zen-0.2.3 lib/zen/package/comments/lib/comments.rb
zen-0.2 lib/zen/package/comments/lib/comments.rb