Unify from EE for app/uploaders/object_storage.rb

This commit is contained in:
Lin Jen-Shin 2018-06-12 01:27:06 +08:00
parent 87eb2b6e51
commit c854fe2103

View file

@ -22,10 +22,10 @@ module ObjectStorage
module RecordsUploads
extend ActiveSupport::Concern
def prepended(base)
prepended do |base|
raise "#{base} must include ObjectStorage::Concern to use extensions." unless base < Concern
base.include(RecordsUploads::Concern)
base.include(::RecordsUploads::Concern)
end
def retrieve_from_store!(identifier)