Sha256: 2ee7777710ef3385f3cd69e88a87dabc7a6e6c06cd9abbb2d85f92f919d4e7a9

Contents?: true

Size: 230 Bytes

Versions: 6

Compression:

Stored size: 230 Bytes

Contents

module Adminpanel
  class Photo < ActiveRecord::Base
    include Adminpanel::Base
    # include Adminpanel::Galleryzation
    mount_uploader :file, PhotoUploader

    def self.relation_method
      'product_id'
    end

  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
adminpanel-2.2.5 test/dummy/app/models/adminpanel/photo.rb
adminpanel-2.2.4 test/dummy/app/models/adminpanel/photo.rb
adminpanel-2.2.3 test/dummy/app/models/adminpanel/photo.rb
adminpanel-2.2.2 test/dummy/app/models/adminpanel/photo.rb
adminpanel-2.2.1 test/dummy/app/models/adminpanel/photo.rb
adminpanel-2.2.0 test/dummy/app/models/adminpanel/photo.rb