Sha256: e87564cacc1c947227653f26629d35f307b7a1af384564c635010914a3dc275c

Contents?: true

Size: 849 Bytes

Versions: 29

Compression:

Stored size: 849 Bytes

Contents

json.partial! partial: 'partials/cama_post_entry', locals:{ post: @post }
json.extract! @post, :post_type_id, :created_at, :updated_at, :status, :post_parent, :published_at, :user_id, :post_order, :is_feature
json.content @post.the_content
json.visits @post.total_visits
json.urls @post.the_urls

json.partial! partial: 'partials/cama_comments_entry', locals:{ post: @post }

json.fields @post.the_fields_grouped(@post.field_values.pluck(:custom_field_slug))

json.categories @post.categories.decorate do |category|
  json.partial! partial: 'partials/cama_category_entry', locals:{ category: category }
end

json.tags @post.post_tags.decorate do |post_tag|
  json.partial! partial: 'partials/cama_tag_entry', locals:{ post_tag: post_tag }
end

json.owner do
  json.partial! partial: 'partials/cama_user_entry', locals:{ user: @post.the_author }
end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
camaleon_cms-2.4.5 app/views/camaleon_cms/default_theme/single.json.jbuilder
camaleon_cms-2.4.4.7 app/views/camaleon_cms/default_theme/single.json.jbuilder
camaleon_cms-2.4.4.6 app/views/camaleon_cms/default_theme/single.json.jbuilder
camaleon_cms-2.4.4.5 app/views/camaleon_cms/default_theme/single.json.jbuilder
camaleon_cms-2.4.4.4 app/views/camaleon_cms/default_theme/single.json.jbuilder
camaleon_cms-2.4.4.3 app/views/camaleon_cms/default_theme/single.json.jbuilder
camaleon_cms-2.4.4.2 app/views/camaleon_cms/default_theme/single.json.jbuilder
camaleon_cms-2.4.4.1 app/views/camaleon_cms/default_theme/single.json.jbuilder
camaleon_cms-2.4.4 app/views/camaleon_cms/default_theme/single.json.jbuilder
camaleon_cms-2.4.3.13 app/views/camaleon_cms/default_theme/single.json.jbuilder
camaleon_cms-2.4.3.12 app/views/camaleon_cms/default_theme/single.json.jbuilder
camaleon_cms-2.4.3.11 app/views/camaleon_cms/default_theme/single.json.jbuilder
camaleon_cms-2.4.3.10 app/views/camaleon_cms/default_theme/single.json.jbuilder
camaleon_cms-2.4.3.9 app/views/camaleon_cms/default_theme/single.json.jbuilder
camaleon_cms-2.4.3.8 app/views/camaleon_cms/default_theme/single.json.jbuilder
camaleon_cms-2.4.3.7 app/views/camaleon_cms/default_theme/single.json.jbuilder
camaleon_cms-2.4.3.6 app/views/camaleon_cms/default_theme/single.json.jbuilder
camaleon_cms-2.4.3.5 app/views/camaleon_cms/default_theme/single.json.jbuilder
camaleon_cms-2.4.3.4 app/views/camaleon_cms/default_theme/single.json.jbuilder
camaleon_cms-2.4.3.3 app/views/camaleon_cms/default_theme/single.json.jbuilder