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

Version Path
pageflow-14.5.2 app/views/pageflow/entry_json_seed/_entry.json.jbuilder
pageflow-15.1.0.beta2 app/views/pageflow/entry_json_seed/_entry.json.jbuilder
pageflow-15.1.0.beta1 app/views/pageflow/entry_json_seed/_entry.json.jbuilder
pageflow-15.0.2 app/views/pageflow/entry_json_seed/_entry.json.jbuilder
pageflow-15.0.1 app/views/pageflow/entry_json_seed/_entry.json.jbuilder
pageflow-15.0.0 app/views/pageflow/entry_json_seed/_entry.json.jbuilder
pageflow-14.5.1 app/views/pageflow/entry_json_seed/_entry.json.jbuilder
pageflow-14.5.0 app/views/pageflow/entry_json_seed/_entry.json.jbuilder
pageflow-15.0.0.rc2 app/views/pageflow/entry_json_seed/_entry.json.jbuilder
pageflow-15.0.0.rc1 app/views/pageflow/entry_json_seed/_entry.json.jbuilder
pageflow-15.0.0.beta4 app/views/pageflow/entry_json_seed/_entry.json.jbuilder
pageflow-15.0.0.beta3 app/views/pageflow/entry_json_seed/_entry.json.jbuilder
pageflow-14.4.0 app/views/pageflow/entry_json_seed/_entry.json.jbuilder
pageflow-15.0.0.beta2 app/views/pageflow/entry_json_seed/_entry.json.jbuilder
pageflow-15.0.0.beta1 app/views/pageflow/entry_json_seed/_entry.json.jbuilder
pageflow-14.3.0 app/views/pageflow/entry_json_seed/_entry.json.jbuilder
pageflow-14.2.1 app/views/pageflow/entry_json_seed/_entry.json.jbuilder
pageflow-14.2.0 app/views/pageflow/entry_json_seed/_entry.json.jbuilder
pageflow-14.1.1 app/views/pageflow/entry_json_seed/_entry.json.jbuilder
pageflow-14.1.0 app/views/pageflow/entry_json_seed/_entry.json.jbuilder