Sha256: 12d365149a452f5d99b57bac9530efeb3a50efffc87471bc54909ed6b302bf35
Contents?: true
Size: 593 Bytes
Versions: 32
Compression:
Stored size: 593 Bytes
Contents
json.merge! common_entry_seed(entry) json.entry entry_attributes_seed(entry) json.theme entry_theme_seed(entry) json.storylines entry_storylines_seed(entry) json.chapters entry_chapters_seed(entry) json.pages entry_pages_seed(entry) json.widgets entry_widgets_seed(entry) json.file_ids entry_file_ids_seed(entry) json.files do Pageflow.config.file_types.each do |file_type| json.set!(file_type.collection_name) do json.array!(entry.find_files(file_type.model)) do |file| json.partial! 'pageflow/files/file', file: file, file_type: file_type end end end end
Version data entries
32 entries across 32 versions & 1 rubygems