Sha256: 18064f667925863b667b494616c0554bbaa14b96309cd9fc13d0ab81c8d2d1dd

Contents?: true

Size: 788 Bytes

Versions: 28

Compression:

Stored size: 788 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.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

28 entries across 28 versions & 1 rubygems

Version Path
pageflow-13.0.0.beta6 app/views/pageflow/editor/entries/_entry.json.jbuilder
pageflow-13.0.0.beta5 app/views/pageflow/editor/entries/_entry.json.jbuilder
pageflow-13.0.0.beta4 app/views/pageflow/editor/entries/_entry.json.jbuilder
pageflow-13.0.0.beta3 app/views/pageflow/editor/entries/_entry.json.jbuilder
pageflow-13.0.0.beta2 app/views/pageflow/editor/entries/_entry.json.jbuilder
pageflow-13.0.0.beta1 app/views/pageflow/editor/entries/_entry.json.jbuilder
pageflow-12.2.0 app/views/pageflow/editor/entries/_entry.json.jbuilder
pageflow-12.1.0 app/views/pageflow/editor/entries/_entry.json.jbuilder