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.9.6 app/models/concerns/hyrax/nested_works.rb
hyrax-2.9.5 app/models/concerns/hyrax/nested_works.rb
hyrax-2.9.4 app/models/concerns/hyrax/nested_works.rb
hyrax-2.9.3 app/models/concerns/hyrax/nested_works.rb
hyrax-2.9.2 app/models/concerns/hyrax/nested_works.rb
hyrax-2.9.1 app/models/concerns/hyrax/nested_works.rb
hyrax-2.9.0 app/models/concerns/hyrax/nested_works.rb
hyrax-2.8.0 app/models/concerns/hyrax/nested_works.rb
hyrax-2.7.2 app/models/concerns/hyrax/nested_works.rb
hyrax-2.7.1 app/models/concerns/hyrax/nested_works.rb
hyrax-2.7.0 app/models/concerns/hyrax/nested_works.rb
hyrax-2.6.0 app/models/concerns/hyrax/nested_works.rb
hyrax-3.0.0.pre.rc1 app/models/concerns/hyrax/nested_works.rb
hyrax-3.0.0.pre.beta3 app/models/concerns/hyrax/nested_works.rb
hyrax-2.5.1 app/models/concerns/hyrax/nested_works.rb
hyrax-2.5.0 app/models/concerns/hyrax/nested_works.rb
hyrax-3.0.0.pre.beta2 app/models/concerns/hyrax/nested_works.rb
hyrax-2.4.1 app/models/concerns/hyrax/nested_works.rb
hyrax-3.0.0.pre.beta1 app/models/concerns/hyrax/nested_works.rb
hyrax-2.4.0 app/models/concerns/hyrax/nested_works.rb