Commit c854fe21 authored by Lin Jen-Shin's avatar Lin Jen-Shin

Unify from EE for app/uploaders/object_storage.rb

parent 87eb2b6e
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment