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.0.0.rc3 app/models/concerns/hyrax/nested_works.rb
hyrax-2.0.0.rc2 app/models/concerns/hyrax/nested_works.rb
hyrax-2.0.0.rc1 app/models/concerns/hyrax/nested_works.rb
hyrax-2.0.0.beta5 app/models/concerns/hyrax/nested_works.rb
hyrax-2.0.0.beta4 app/models/concerns/hyrax/nested_works.rb
hyrax-2.0.0.beta3 app/models/concerns/hyrax/nested_works.rb
hyrax-2.0.0.beta2 app/models/concerns/hyrax/nested_works.rb
hyrax-2.0.0.beta1 app/models/concerns/hyrax/nested_works.rb