Sha256: c9883da51b24fc2ad688ab3fd0caa8b4d81e53a1eed91573dcdc21591a267152

Contents?: true

Size: 379 Bytes

Versions: 8

Compression:

Stored size: 379 Bytes

Contents

# frozen_string_literal: true
@curation_concern = ::Wings::ActiveFedoraConverter.convert(resource: @curation_concern) if
  @curation_concern.is_a?(Hyrax::Resource) && Object.const_defined?("Wings")

json.extract! @curation_concern, *@curation_concern.class.fields.reject { |f| [:has_model].include? f }
json.id @curation_concern.id.to_s
json.version @curation_concern.try(:etag)

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
hyrax-5.1.0.pre.beta1 app/views/hyrax/base/show.json.jbuilder
hyrax-5.0.4 app/views/hyrax/base/show.json.jbuilder
hyrax-5.0.3 app/views/hyrax/base/show.json.jbuilder
hyrax-5.0.2 app/views/hyrax/base/show.json.jbuilder
hyrax-5.0.1 app/views/hyrax/base/show.json.jbuilder
hyrax-5.0.0 app/views/hyrax/base/show.json.jbuilder
hyrax-5.0.0.rc3 app/views/hyrax/base/show.json.jbuilder
hyrax-5.0.0.rc2 app/views/hyrax/base/show.json.jbuilder