Sha256: 783e867e7e69075ab2c786bdb0868b3d5041a05a0898193ac1825601a58a3687

Contents?: true

Size: 352 Bytes

Versions: 58

Compression:

Stored size: 352 Bytes

Contents

json.files [@upload] do |uploaded_file|
  json.id uploaded_file.id
  json.name uploaded_file.file.file.filename
  json.size uploaded_file.file.file.size
  # TODO: implement these
  # json.url  "/uploads/#{uploaded_file.id}"
  # json.thumbnail_url uploaded_file.id
  json.deleteUrl hyrax.uploaded_file_path(uploaded_file)
  json.deleteType 'DELETE'
end

Version data entries

58 entries across 58 versions & 2 rubygems

Version Path
hyrax-2.9.6 app/views/hyrax/uploads/create.json.jbuilder
hyrax-2.9.5 app/views/hyrax/uploads/create.json.jbuilder
hyrax-2.9.4 app/views/hyrax/uploads/create.json.jbuilder
hyrax-2.9.3 app/views/hyrax/uploads/create.json.jbuilder
hyrax-2.9.2 app/views/hyrax/uploads/create.json.jbuilder
hyrax-2.9.1 app/views/hyrax/uploads/create.json.jbuilder
hyrax-2.9.0 app/views/hyrax/uploads/create.json.jbuilder
hyrax-2.8.0 app/views/hyrax/uploads/create.json.jbuilder
hyrax-2.7.2 app/views/hyrax/uploads/create.json.jbuilder
hyrax-2.7.1 app/views/hyrax/uploads/create.json.jbuilder
hyrax-2.7.0 app/views/hyrax/uploads/create.json.jbuilder
hyrax-2.6.0 app/views/hyrax/uploads/create.json.jbuilder
hyrax-3.0.0.pre.rc1 app/views/hyrax/uploads/create.json.jbuilder
hyrax-3.0.0.pre.beta3 app/views/hyrax/uploads/create.json.jbuilder
hyrax-2.5.1 app/views/hyrax/uploads/create.json.jbuilder
hyrax-2.5.0 app/views/hyrax/uploads/create.json.jbuilder
hyrax-3.0.0.pre.beta2 app/views/hyrax/uploads/create.json.jbuilder
hyrax-2.4.1 app/views/hyrax/uploads/create.json.jbuilder
hyrax-3.0.0.pre.beta1 app/views/hyrax/uploads/create.json.jbuilder
hyrax-2.4.0 app/views/hyrax/uploads/create.json.jbuilder