test/dummy/app/models/adminpanel/photo.rb in adminpanel-2.6.1 vs test/dummy/app/models/adminpanel/photo.rb in adminpanel-3.0.0

- old
+ new

@@ -1,13 +1,6 @@ module Adminpanel - class Photo < ActiveRecord::Base - include Adminpanel::Base + class Photo < Image # include Adminpanel::SortableGallery - mount_uploader :file, PhotoUploader - belongs_to :product - - def self.relation_method - 'product_id' - end - + mount_uploader :file, Adminpanel::PhotoUploader end end