Sha256: de955cc6349a7b5c8eb48a8a979af1b7ddb1b9ba3bff07c9756d35728478f886

Contents?: true

Size: 384 Bytes

Versions: 25

Compression:

Stored size: 384 Bytes

Contents

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

  included do
    # rubocop:disable Rails/HasAndBelongsToMany
    has_and_belongs_to_many :renderings,
                            predicate: Hyrax.config.rendering_predicate,
                            class_name: 'ActiveFedora::Base'
    # rubocop:enable Rails/HasAndBelongsToMany
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
hyrax-5.0.1 app/models/concerns/hyrax/has_rendering.rb
hyrax-5.0.0 app/models/concerns/hyrax/has_rendering.rb
hyrax-5.0.0.rc3 app/models/concerns/hyrax/has_rendering.rb
hyrax-5.0.0.rc2 app/models/concerns/hyrax/has_rendering.rb
hyrax-5.0.0.rc1 app/models/concerns/hyrax/has_rendering.rb
hyrax-3.6.0 app/models/concerns/hyrax/has_rendering.rb
hyrax-4.0.0 app/models/concerns/hyrax/has_rendering.rb
hyrax-4.0.0.rc3 app/models/concerns/hyrax/has_rendering.rb
hyrax-4.0.0.rc2 app/models/concerns/hyrax/has_rendering.rb
hyrax-4.0.0.rc1 app/models/concerns/hyrax/has_rendering.rb
hyrax-3.5.0 app/models/concerns/hyrax/has_rendering.rb
hyrax-4.0.0.beta2 app/models/concerns/hyrax/has_rendering.rb
hyrax-3.4.2 app/models/concerns/hyrax/has_rendering.rb
hyrax-4.0.0.beta1 app/models/concerns/hyrax/has_rendering.rb
hyrax-3.4.1 app/models/concerns/hyrax/has_rendering.rb
hyrax-3.4.0 app/models/concerns/hyrax/has_rendering.rb
hyrax-3.3.0 app/models/concerns/hyrax/has_rendering.rb
hyrax-3.2.0 app/models/concerns/hyrax/has_rendering.rb
hyrax-3.1.0 app/models/concerns/hyrax/has_rendering.rb
hyrax-3.0.2 app/models/concerns/hyrax/has_rendering.rb