1 2 3 4 5 6 7 8 9 10 11 12
module BlobViewer module Auxiliary extend ActiveSupport::Concern included do self.loading_partial_name = 'loading_auxiliary' self.type = :auxiliary self.max_size = 100.kilobytes self.absolute_max_size = 100.kilobytes end end end