Sha256: 78f57b3ac599c17d7aaf886a8581c7668a0ce5bda7001566780ea7240af9d7d5

Contents?: true

Size: 753 Bytes

Versions: 12

Compression:

Stored size: 753 Bytes

Contents

json.(entry, :id, :entry_title, :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.publishable(can?(:publish, entry.to_model))
json.password_protected(entry.password_digest.present?)

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

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
pageflow-12.0.4 app/views/pageflow/editor/entries/_entry.json.jbuilder
pageflow-12.0.3 app/views/pageflow/editor/entries/_entry.json.jbuilder
pageflow-12.0.2 app/views/pageflow/editor/entries/_entry.json.jbuilder
pageflow-12.0.1 app/views/pageflow/editor/entries/_entry.json.jbuilder
pageflow-12.0.0 app/views/pageflow/editor/entries/_entry.json.jbuilder
pageflow-12.0.0.rc7 app/views/pageflow/editor/entries/_entry.json.jbuilder
pageflow-12.0.0.rc6 app/views/pageflow/editor/entries/_entry.json.jbuilder
pageflow-12.0.0.rc5 app/views/pageflow/editor/entries/_entry.json.jbuilder
pageflow-12.0.0.rc4 app/views/pageflow/editor/entries/_entry.json.jbuilder
pageflow-12.0.0.rc3 app/views/pageflow/editor/entries/_entry.json.jbuilder
pageflow-12.0.0.rc2 app/views/pageflow/editor/entries/_entry.json.jbuilder
pageflow-12.0.0.rc1 app/views/pageflow/editor/entries/_entry.json.jbuilder