Sha256: a58c6f2837814e530b099cbf2abfcb50c605c43fc75813147dd942e4e2fa07a4
Contents?: true
Size: 708 Bytes
Versions: 3
Compression:
Stored size: 708 Bytes
Contents
module Gluttonberg module Content module PageComponents extend ActiveSupport::Concern included do include Content::Publishable include Content::SlugManagement include Content::PageFinder include Content::DefaultTemplateFile include Content::PageDescriptionInfo include Content::PageChildren include Content::HomePageInfo # Generate the associations for the block/content classes Content::Block.classes.each do |klass| has_many klass.association_name, :class_name => klass.name, :dependent => :destroy end MixinManager.load_mixins(self) end #included end # PageComponents end end
Version data entries
3 entries across 3 versions & 1 rubygems