Sha256: 6a99160ab96dd9001d2e4b1bf94254c273de23d6a3bd6000509866c392432876

Contents?: true

Size: 410 Bytes

Versions: 9

Compression:

Stored size: 410 Bytes

Contents

json.current_page  posts.current_page
json.per_page posts.per_page
json.total_entries posts.total_entries
json.previous_page url_for(params.merge(page: posts.previous_page)) if posts.previous_page.present?
json.next_page url_for(params.merge(page: posts.next_page)) if posts.next_page.present?
json.entries posts.decorate do |post|
  json.partial! partial: 'partials/cama_post_entry', locals:{ post: post }
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
camaleon_cms-2.4.3.1 app/views/camaleon_cms/default_theme/partials/_cama_posts_entries.json.jbuilder
camaleon_cms-2.4.3 app/views/camaleon_cms/default_theme/partials/_cama_posts_entries.json.jbuilder
camaleon_cms-2.4.2 app/views/camaleon_cms/default_theme/partials/_cama_posts_entries.json.jbuilder
camaleon_cms-2.4.1 app/views/camaleon_cms/default_theme/partials/_cama_posts_entries.json.jbuilder
camaleon_cms-2.4.0 app/views/camaleon_cms/default_theme/partials/_cama_posts_entries.json.jbuilder
camaleon_cms-2.3.7.2 app/views/camaleon_cms/default_theme/partials/_cama_posts_entries.json.jbuilder
camaleon_cms-2.3.7.1 app/views/camaleon_cms/default_theme/partials/_cama_posts_entries.json.jbuilder
camaleon_cms-2.3.7 app/views/camaleon_cms/default_theme/partials/_cama_posts_entries.json.jbuilder
camaleon_cms-2.3.6 app/views/camaleon_cms/default_theme/partials/_cama_posts_entries.json.jbuilder