Sha256: ff5a4af79b105f613566e7686f5da49e997f9159b595fda3b371218a815b3cd4

Contents?: true

Size: 350 Bytes

Versions: 5

Compression:

Stored size: 350 Bytes

Contents

module NoCms
  module Blocks
    include ActiveSupport::Configurable

    config_accessor :block_layouts
    config_accessor :cache_enabled

    self.block_layouts = {
      'default' => {
        template: 'default',
        fields: {
          title: :string,
          body: :text
        }
      }
    }
    self.cache_enabled = false

  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
nocms-blocks-1.1.3 lib/no_cms/blocks/configuration.rb
nocms-blocks-1.1.2 lib/no_cms/blocks/configuration.rb
nocms-blocks-1.1.1 lib/no_cms/blocks/configuration.rb
nocms-blocks-1.1.0 lib/no_cms/blocks/configuration.rb
nocms-blocks-1.0.0 lib/no_cms/blocks/configuration.rb