Sha256: 030d388b5f977b534f7593c1e08ec2fc961b0d839bde3069ef9fe20bd5df6f06

Contents?: true

Size: 262 Bytes

Versions: 12

Compression:

Stored size: 262 Bytes

Contents

# frozen_string_literal: true

module Lcms
  module Engine
    class ResourceAdditionalResource < ApplicationRecord
      belongs_to :resource
      belongs_to :additional_resource, class_name: 'Resource', foreign_key: 'additional_resource_id'
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
lcms-engine-0.5.5 app/models/lcms/engine/resource_additional_resource.rb
lcms-engine-0.5.4 app/models/lcms/engine/resource_additional_resource.rb
lcms-engine-0.5.3 app/models/lcms/engine/resource_additional_resource.rb
lcms-engine-0.5.2 app/models/lcms/engine/resource_additional_resource.rb
lcms-engine-0.5.1 app/models/lcms/engine/resource_additional_resource.rb
lcms-engine-0.5.0 app/models/lcms/engine/resource_additional_resource.rb
lcms-engine-0.4.2 app/models/lcms/engine/resource_additional_resource.rb
lcms-engine-0.4.1 app/models/lcms/engine/resource_additional_resource.rb
lcms-engine-0.4.0 app/models/lcms/engine/resource_additional_resource.rb
lcms-engine-0.3.1 app/models/lcms/engine/resource_additional_resource.rb
lcms-engine-0.3.0 app/models/lcms/engine/resource_additional_resource.rb
lcms-engine-0.2.0 app/models/lcms/engine/resource_additional_resource.rb