Sha256: 5aa0e42779490d15dfa60d12fc4774072312ced2beb98ed17f35ccf4c891baf1

Contents?: true

Size: 292 Bytes

Versions: 10

Compression:

Stored size: 292 Bytes

Contents

module Hyrax
  module NestedWorks
    extend ActiveSupport::Concern

    included do
      class_attribute :valid_child_concerns
      self.valid_child_concerns = Hyrax::ClassifyConcern.new.all_curation_concern_classes
    end

    def in_works_ids
      in_works.map(&:id)
    end
  end
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
hyrax-1.1.1 app/models/concerns/hyrax/nested_works.rb
hyrax-1.1.0 app/models/concerns/hyrax/nested_works.rb
hyrax-1.0.5 app/models/concerns/hyrax/nested_works.rb
hyrax-1.0.4 app/models/concerns/hyrax/nested_works.rb
hyrax-1.0.3 app/models/concerns/hyrax/nested_works.rb
hyrax-1.0.2 app/models/concerns/hyrax/nested_works.rb
hyrax-1.0.1 app/models/concerns/hyrax/nested_works.rb
hyrax-1.0.0.rc2 app/models/concerns/hyrax/nested_works.rb
hyrax-1.0.0.rc1 app/models/concerns/hyrax/nested_works.rb
test_hyrax-0.0.1.alpha app/models/concerns/hyrax/nested_works.rb