Sha256: 49131cf0bb24fdac2eee5250871708b230ade83e688d518668d38c8ebe641f63

Contents?: true

Size: 806 Bytes

Versions: 23

Compression:

Stored size: 806 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, :share_providers,
        :manual_start, :emphasize_chapter_beginning, :emphasize_new_pages,
        :share_url, :share_image_id, :share_image_x, :share_image_y)
  json.theme_name entry.theme.name
  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

23 entries across 23 versions & 1 rubygems

Version Path
pageflow-14.2.0 app/views/pageflow/editor/entries/_entry.json.jbuilder
pageflow-14.1.1 app/views/pageflow/editor/entries/_entry.json.jbuilder
pageflow-14.1.0 app/views/pageflow/editor/entries/_entry.json.jbuilder