Sha256: bb0092c464ff08272d9a1437d324716f0359f276c797bb59fe5a8c48153d5406
Contents?: true
Size: 560 Bytes
Versions: 48
Compression:
Stored size: 560 Bytes
Contents
if @dt_request&.provided? json.set! 'draw', @dt_request.draw json.set! 'recordsTotal', @dt_request.records_total json.set! 'recordsFiltered', @dt_request.records_filtered json.data do json.array!(@dt_request.records) do |<%= singular_table_name %>| json.partial! 'details', locals: { <%= singular_table_name %>: <%= singular_table_name %> } end end if @dt_request.error? json.set! 'error', @dt_request.error end else json.set! 'error', 'No data tables request received.' end json.set! 'appInfo', h(Rails.application.app_info)
Version data entries
48 entries across 48 versions & 1 rubygems