Sha256: 0584078579ae9988d8798c0870050c154a9ee669254a8c5839010f6a1b59bce0

Contents?: true

Size: 297 Bytes

Versions: 28

Compression:

Stored size: 297 Bytes

Contents

# frozen_string_literal: true
module Hyrax
  module NestedWorks
    extend ActiveSupport::Concern

    included do
      class_attribute :valid_child_concerns
      self.valid_child_concerns = Hyrax.config.curation_concerns
    end

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

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
hyrax-5.0.4 app/models/concerns/hyrax/nested_works.rb
hyrax-5.0.3 app/models/concerns/hyrax/nested_works.rb
hyrax-5.0.2 app/models/concerns/hyrax/nested_works.rb
hyrax-5.0.1 app/models/concerns/hyrax/nested_works.rb
hyrax-5.0.0 app/models/concerns/hyrax/nested_works.rb
hyrax-5.0.0.rc3 app/models/concerns/hyrax/nested_works.rb
hyrax-5.0.0.rc2 app/models/concerns/hyrax/nested_works.rb
hyrax-5.0.0.rc1 app/models/concerns/hyrax/nested_works.rb
hyrax-3.6.0 app/models/concerns/hyrax/nested_works.rb
hyrax-4.0.0 app/models/concerns/hyrax/nested_works.rb
hyrax-4.0.0.rc3 app/models/concerns/hyrax/nested_works.rb
hyrax-4.0.0.rc2 app/models/concerns/hyrax/nested_works.rb
hyrax-4.0.0.rc1 app/models/concerns/hyrax/nested_works.rb
hyrax-3.5.0 app/models/concerns/hyrax/nested_works.rb
hyrax-4.0.0.beta2 app/models/concerns/hyrax/nested_works.rb
hyrax-3.4.2 app/models/concerns/hyrax/nested_works.rb
hyrax-4.0.0.beta1 app/models/concerns/hyrax/nested_works.rb
hyrax-3.4.1 app/models/concerns/hyrax/nested_works.rb
hyrax-3.4.0 app/models/concerns/hyrax/nested_works.rb
hyrax-3.3.0 app/models/concerns/hyrax/nested_works.rb