Sha256: 4211e2b7ee0671c726c7ac8c528ba61779a6b20f23ca8e4c53c32d3bfcafee1a

Contents?: true

Size: 636 Bytes

Versions: 1

Compression:

Stored size: 636 Bytes

Contents

# encoding: utf-8

module PagesCore
  module PageModel
    module Localizable
      extend ActiveSupport::Concern

      included do
        localizable do
          attribute :name
          attribute :body
          attribute :excerpt
          attribute :headline
          attribute :boxout

          attribute :path_segment
          attribute :meta_title
          attribute :meta_description
          attribute :open_graph_title
          attribute :open_graph_description

          dictionary(lambda do
            PagesCore::Templates::TemplateConfiguration.all_blocks
          end)
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pages_core-3.5.1 app/models/concerns/pages_core/page_model/localizable.rb