Sha256: c69d100c02a8a0b9f233fc97686ae169cab54c1cfe8f001f107165a5e2f9b749
Contents?: true
Size: 1.26 KB
Versions: 43
Compression:
Stored size: 1.26 KB
Contents
# Page Component # ================ # # V3 # ----- # # { # searchable_title: 'New page', # searchable_description: '', # thumbnail: { # id: undefined, # name: '' # }, # stylesheets: '', # javascripts: '' # } # module Promethee::StructureUpgrader::Components class Page < Base def upgraded_attributes { 'title' => { 'searchable' => true, 'translatable' => true, 'type' => 'string', 'value' => string_attribute('searchable_title') }, 'description' => { 'searchable' => true, 'translatable' => true, 'type' => 'text', 'value' => attribute('searchable_description') }, 'thumbnail' => { 'searchable' => false, 'translatable' => false, 'type' => 'blob', 'value' => attribute('thumbnail') }, 'stylesheets' => { 'searchable' => false, 'translatable' => false, 'type' => 'string', 'value' => string_attribute('stylesheets') }, 'javascripts' => { 'searchable' => false, 'translatable' => false, 'type' => 'string', 'value' => string_attribute('javascripts') } } end end end
Version data entries
43 entries across 43 versions & 1 rubygems