Sha256: c9dbe47226cd2aea0fb4a46655b5a2fd662bd198ed595d7dd33432e22edad1bd
Contents?: true
Size: 1.12 KB
Versions: 2
Compression:
Stored size: 1.12 KB
Contents
# Load all the classes such as controllers, models and so on. require __DIR__ 'sections/model/section' require __DIR__ 'sections/model/section_entry' require __DIR__ 'sections/controller/sections' require __DIR__ 'sections/controller/section_entries' # Load and register all our liquid tags require __DIR__ 'sections/liquid/section_entries' require __DIR__ 'sections/liquid/sections' 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.name = 'Sections' p.author = 'Yorick Peterse' p.url = 'http://yorickpeterse.com/' 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.migration_dir = __DIR__('../migrations') p.menu = [{ :title => "Sections", :url => "admin" }] end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
zen-0.2.4.1 | lib/zen/package/sections/lib/sections.rb |
zen-0.2.4 | lib/zen/package/sections/lib/sections.rb |