Sha256: 6c6d3b85ee717ded86bfd90930e24d3dd2f3cb80c66ab88c1e474e9702280c9e

Contents?: true

Size: 332 Bytes

Versions: 6

Compression:

Stored size: 332 Bytes

Contents

module Smithy
  module ContentBlocks
    module Model
      extend ActiveSupport::Concern
      included do
        has_many :page_contents, :as => :content_block
        Smithy::ContentBlocks::Registry.register self
      end

      module ClassMethods
        def content_block_description
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
smithycms-0.4.2 lib/smithy/content_blocks/model.rb
smithycms-0.4.1 lib/smithy/content_blocks/model.rb
smithycms-0.4.0 lib/smithy/content_blocks/model.rb
smithycms-0.0.3 lib/smithy/content_blocks/model.rb
smithycms-0.0.2 lib/smithy/content_blocks/model.rb
smithycms-0.0.1 lib/smithy/content_blocks/model.rb