Unify from EE for app/uploaders/object_storage.rb
This commit is contained in:
parent
87eb2b6e51
commit
c854fe2103
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue