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