Sha256: 00878930260a3b77684a8bfc491ee36574da833f536650bc55bbcc80e3aa17a3

Contents?: true

Size: 267 Bytes

Versions: 48

Compression:

Stored size: 267 Bytes

Contents

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

48 entries across 48 versions & 1 rubygems

Version Path
hyrax-2.3.3 app/models/concerns/hyrax/nested_works.rb
hyrax-2.3.2 app/models/concerns/hyrax/nested_works.rb
hyrax-2.3.1 app/models/concerns/hyrax/nested_works.rb
hyrax-2.3.0 app/models/concerns/hyrax/nested_works.rb
hyrax-2.0.3 app/models/concerns/hyrax/nested_works.rb
hyrax-2.2.4 app/models/concerns/hyrax/nested_works.rb
hyrax-2.2.3 app/models/concerns/hyrax/nested_works.rb
hyrax-2.2.2 app/models/concerns/hyrax/nested_works.rb
hyrax-2.2.1 app/models/concerns/hyrax/nested_works.rb
hyrax-2.2.0 app/models/concerns/hyrax/nested_works.rb
hyrax-2.1.0 app/models/concerns/hyrax/nested_works.rb
hyrax-2.1.0.rc4 app/models/concerns/hyrax/nested_works.rb
hyrax-2.1.0.rc3 app/models/concerns/hyrax/nested_works.rb
hyrax-2.1.0.rc2 app/models/concerns/hyrax/nested_works.rb
hyrax-2.1.0.rc1 app/models/concerns/hyrax/nested_works.rb
hyrax-2.1.0.beta2 app/models/concerns/hyrax/nested_works.rb
hyrax-2.0.2 app/models/concerns/hyrax/nested_works.rb
hyrax-2.1.0.beta1 app/models/concerns/hyrax/nested_works.rb
hyrax-2.0.1 app/models/concerns/hyrax/nested_works.rb
hyrax-2.0.0 app/models/concerns/hyrax/nested_works.rb