Sha256: e215e24fd35c3b85c9e95cef0eb87996554d54edaad48d3f05dc25abaf214dfa

Contents?: true

Size: 506 Bytes

Versions: 48

Compression:

Stored size: 506 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 |security|
      json.partial! 'details', locals: { security: security }
    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

Version Path
incline-0.2.6 app/views/incline/security/index.json.jbuilder
incline-0.2.5 app/views/incline/security/index.json.jbuilder
incline-0.2.4 app/views/incline/security/index.json.jbuilder
incline-0.2.3 app/views/incline/security/index.json.jbuilder
incline-0.1.9 app/views/incline/security/index.json.jbuilder
incline-0.1.8 app/views/incline/security/index.json.jbuilder
incline-0.1.7 app/views/incline/security/index.json.jbuilder
incline-0.1.5 app/views/incline/security/index.json.jbuilder