Sha256: 9f30b24dfa55d1bf876dd1766fee383ed6defb09ab8da3636f70233b316fa754
Contents?: true
Size: 875 Bytes
Versions: 12
Compression:
Stored size: 875 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.custom_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
12 entries across 12 versions & 1 rubygems