Sha256: e9adf4afa026b46df72887ce54171c991addc76151e4863be0dab3fa118b8947

Contents?: true

Size: 516 Bytes

Versions: 4

Compression:

Stored size: 516 Bytes

Contents

Zen::Package.add do |p|
  p.name   = :extensions
  p.title  = 'extensions.titles.index'
  p.author = 'Yorick Peterse'
  p.url    = 'http://zen-cms.com/'
  p.about  = 'extensions.description'
  p.root   = __DIR__('extensions')

  p.menu 'extensions.titles.index',
    '/admin/extensions',
    :permission => :show_extension

  p.permission :show_extension, 'extensions.permissions.show'
end

require __DIR__('extensions/controller/extensions')

Zen::Event.listen :post_start do
  Zen::Language.load('extensions')
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
zen-0.4.3 lib/zen/package/extensions/lib/extensions.rb
zen-0.4.2 lib/zen/package/extensions/lib/extensions.rb
zen-0.4.1 lib/zen/package/extensions/lib/extensions.rb
zen-0.4 lib/zen/package/extensions/lib/extensions.rb