Sha256: 75ae84680258006a00105b381e85e44d4e1f7f32b16542aeaaba1a108817a429

Contents?: true

Size: 244 Bytes

Versions: 25

Compression:

Stored size: 244 Bytes

Contents

# frozen_string_literal: true

json.next url_for(page: records.next_page) unless records.last_page?
json.prev url_for(page: records.prev_page) unless records.first_page?
json.total_pages records.total_pages
json.total_items records.total_count

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
maglevcms-1.8.0 app/views/maglev/api/_pagination.json.jbuilder
maglevcms-1.7.3 app/views/maglev/api/_pagination.json.jbuilder
maglevcms-1.7.2 app/views/maglev/api/_pagination.json.jbuilder
maglevcms-1.7.1 app/views/maglev/api/_pagination.json.jbuilder
maglevcms-1.7.0 app/views/maglev/api/_pagination.json.jbuilder
maglevcms-1.6.1 app/views/maglev/api/_pagination.json.jbuilder
maglevcms-1.6.0 app/views/maglev/api/_pagination.json.jbuilder
maglevcms-1.5.1 app/views/maglev/api/_pagination.json.jbuilder
maglevcms-1.4.0 app/views/maglev/api/_pagination.json.jbuilder
maglevcms-1.3.0 app/views/maglev/api/_pagination.json.jbuilder
maglevcms-1.2.2 app/views/maglev/api/_pagination.json.jbuilder
maglevcms-1.2.1 app/views/maglev/api/_pagination.json.jbuilder
maglevcms-1.2.0 app/views/maglev/api/_pagination.json.jbuilder
maglevcms-1.1.7 app/views/maglev/api/_pagination.json.jbuilder
maglevcms-1.1.6 app/views/maglev/api/_pagination.json.jbuilder
maglevcms-1.1.5 app/views/maglev/api/_pagination.json.jbuilder
maglevcms-1.1.4 app/views/maglev/api/_pagination.json.jbuilder
maglevcms-1.1.3 app/views/maglev/api/_pagination.json.jbuilder
maglevcms-1.1.2 app/views/maglev/api/_pagination.json.jbuilder
maglevcms-1.1.1 app/views/maglev/api/_pagination.json.jbuilder