Sha256: 2c1f90c92a464b9b8902dc9c76240e0e46396165f9b81ca4935cb8826b84b816

Contents?: true

Size: 494 Bytes

Versions: 48

Compression:

Stored size: 494 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 |user|
      json.partial! 'details', locals: { user: user }
    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.3.14 app/views/incline/users/index.json.jbuilder
incline-0.3.13 app/views/incline/users/index.json.jbuilder
incline-0.3.12 app/views/incline/users/index.json.jbuilder
incline-0.3.11 app/views/incline/users/index.json.jbuilder
incline-0.3.10 app/views/incline/users/index.json.jbuilder
incline-0.3.9 app/views/incline/users/index.json.jbuilder
incline-0.3.8 app/views/incline/users/index.json.jbuilder
incline-0.3.7 app/views/incline/users/index.json.jbuilder
incline-0.3.6 app/views/incline/users/index.json.jbuilder
incline-0.3.5 app/views/incline/users/index.json.jbuilder
incline-0.3.4 app/views/incline/users/index.json.jbuilder
incline-0.3.3 app/views/incline/users/index.json.jbuilder
incline-0.3.2 app/views/incline/users/index.json.jbuilder
incline-0.3.1 app/views/incline/users/index.json.jbuilder
incline-0.3.0 app/views/incline/users/index.json.jbuilder
incline-0.2.36 app/views/incline/users/index.json.jbuilder
incline-0.2.35 app/views/incline/users/index.json.jbuilder
incline-0.2.34 app/views/incline/users/index.json.jbuilder
incline-0.2.28 app/views/incline/users/index.json.jbuilder
incline-0.2.27 app/views/incline/users/index.json.jbuilder