Sha256: 20cf41f59f9b5138006ef5b66175221320ad7b3b1965e5aaadee1c852f0c6ee5

Contents?: true

Size: 543 Bytes

Versions: 11

Compression:

Stored size: 543 Bytes

Contents

json.extract! @category, :created_at, :updated_at, :term_order, :user_id
json.partial! partial: 'partials/cama_category_entry', locals: { category: @category }

json.post_type do
  json.partial! partial: 'partials/cama_post_type_entry', locals: { post_type: @category.post_type.decorate }
end

json.posts do
  json.partial! partial: 'partials/cama_posts_entries', locals: { posts: @posts }
end

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

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
camaleon_cms-2.9.0 app/views/camaleon_cms/default_theme/category.json.jbuilder
camaleon_cms-2.8.3 app/views/camaleon_cms/default_theme/category.json.jbuilder
camaleon_cms-2.8.2 app/views/camaleon_cms/default_theme/category.json.jbuilder
camaleon_cms-2.8.1 app/views/camaleon_cms/default_theme/category.json.jbuilder
camaleon_cms-2.8.0 app/views/camaleon_cms/default_theme/category.json.jbuilder
camaleon_cms-2.7.5 app/views/camaleon_cms/default_theme/category.json.jbuilder
camaleon_cms-2.7.4 app/views/camaleon_cms/default_theme/category.json.jbuilder
camaleon_cms-2.7.3 app/views/camaleon_cms/default_theme/category.json.jbuilder
camaleon_cms-2.7.2 app/views/camaleon_cms/default_theme/category.json.jbuilder
camaleon_cms-2.7.1 app/views/camaleon_cms/default_theme/category.json.jbuilder
camaleon_cms-2.7.0 app/views/camaleon_cms/default_theme/category.json.jbuilder