Sha256: 85aebc19f14e0d0ed33a7520f726c6763e0f7b429677cdef94aef59c778c7eb7

Contents?: true

Size: 555 Bytes

Versions: 3

Compression:

Stored size: 555 Bytes

Contents

json.(entry, :id, :published_until, :slug, :enabled_feature_names)

json.pretty_url pretty_entry_url(entry)

json.default_file_rights entry.account.default_file_rights
json.published(entry.published?)
json.password_protected(entry.password_digest.present?)

json.configuration do
  json.(entry, :title, :summary, :credits, :manual_start, :emphasize_chapter_beginning, :emphasize_new_pages, :share_image_id, :share_image_x, :share_image_y, :locale)
  json.home_url entry.home_button.url_value
  json.home_button_enabled entry.home_button.enabled_value
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pageflow-0.9.2 app/views/pageflow/editor/entries/_entry.json.jbuilder
pageflow-0.9.1 app/views/pageflow/editor/entries/_entry.json.jbuilder
pageflow-0.9.0 app/views/pageflow/editor/entries/_entry.json.jbuilder