Sha256: 8ca40db47a5ecb3d1f3586fb51c63c47fde0d16a3950e04ea30b2c2bec393182
Contents?: true
Size: 236 Bytes
Versions: 5
Compression:
Stored size: 236 Bytes
Contents
json.page @pages.current_page json.total_pages @pages.total_pages json.pages @pages do |page| json.extract! page, :id, :title json.set! :text, "##{page.id} #{page.title} #{page.parent.present? ? ' / ' + page.parent.title : ''}" end
Version data entries
5 entries across 5 versions & 1 rubygems