Sha256: 7521ca93d17f9d444a5a8e37e2d2cc42480d3d2e1ce0a68ae7d023222ae4adb9
Contents?: true
Size: 911 Bytes
Versions: 4
Compression:
Stored size: 911 Bytes
Contents
json.key_format!(camelize: :lower) json.config do json.file_url_templates do config_file_url_templates_seed(json, entry_config) end json.file_model_types do config_file_model_types_seed(json, entry_config) end end unless options[:skip_collections] json.collections do json.chapters do json.array!(chapters) do |chapter| json.partial! 'pageflow_scrolled/chapters/chapter', chapter: chapter end end json.sections do json.array!(sections) do |section| json.partial! 'pageflow_scrolled/sections/section', section: section end end json.content_elements do json.array!(content_elements) do |content_element| json.partial! 'pageflow_scrolled/content_elements/content_element', content_element: content_element end end files_json_seed(json, entry) unless options[:skip_files] end end
Version data entries
4 entries across 4 versions & 1 rubygems