theseus/app/views/batches/_batch.json.jbuilder
2025-05-31 23:25:41 -04:00

3 lines
129 B
Ruby

json.extract! batch, :id, :created_at, :updated_at
json.url batch_url(batch, format: :json)
json.csv_filename batch.csv.filename