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

Version Path
blacksand-2.5.0 app/views/blacksand/dashboard/pages/search.json.jbuilder
blacksand-2.4.1 app/views/blacksand/dashboard/pages/search.json.jbuilder
blacksand-2.4.0 app/views/blacksand/dashboard/pages/search.json.jbuilder
blacksand-2.3.0 app/views/blacksand/dashboard/pages/search.json.jbuilder
blacksand-2.2.2.1 app/views/blacksand/dashboard/pages/search.json.jbuilder