Sha256: f43efa02ec7bd984817f448c0fe7db1b8c4626fa00a3d9298c5d86e68d2b4c0c
Contents?: true
Size: 448 Bytes
Versions: 21
Compression:
Stored size: 448 Bytes
Contents
module Smithy module ContentBlocks module Model extend ActiveSupport::Concern included do has_many :page_contents, :as => :content_block, class_name: '::Smithy::PageContent' has_many :pages, through: :page_contents, class_name: '::Smithy::Page' Smithy::ContentBlocks::Registry.register self end module ClassMethods def content_block_description end end end end end
Version data entries
21 entries across 21 versions & 1 rubygems