lib/zen/package/sections/lib/sections.rb in zen-0.2.3 vs lib/zen/package/sections/lib/sections.rb in zen-0.2.4
- old
+ new
@@ -12,22 +12,21 @@
Liquid::Template.register_tag('sections', Sections::Liquid::Sections)
Liquid::Template.register_tag('section_entries', Sections::Liquid::SectionEntries)
# Describe what this extension is all about
Zen::Package.add do |p|
- p.type = 'extension'
p.name = 'Sections'
p.author = 'Yorick Peterse'
p.url = 'http://yorickpeterse.com/'
- p.version = 1.0
p.about = "The sections module allows users to create and manage sections.
Sections can be seen as small web applications that live inside the CMS.
For example, you could have a section for your blog and for your pages."
- p.identifier = 'com.zen.sections'
- p.directory = __DIR__('sections')
+ p.identifier = 'com.zen.sections'
+ p.directory = __DIR__('sections')
+ p.migration_dir = __DIR__('../migrations')
p.menu = [{
:title => "Sections",
:url => "admin"
}]
-end
\ No newline at end of file
+end