Sha256: 922969568442c505795a693bf4b83d7e7c4e3abc9e2c259f8573cbaff2678a4b

Contents?: true

Size: 262 Bytes

Versions: 2

Compression:

Stored size: 262 Bytes

Contents

{
  "more": <%= finder.pager.next_page? %>,
  "items":
    <% if block_given? %>
      [ <%= safe_join(finder.results.map { |object| capture { yield(object) } }, ',') %> ]
    <% else %>
      <%= raw(finder.results.map(&:attributes).to_json) %>
    <% end %>
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
kadmin-0.7.1 app/views/kadmin/components/_finder.js.erb
kadmin-0.7.0 app/views/kadmin/components/_finder.js.erb