Sha256: 64435dd105951cedaad4d4ad7c4afdfad1a725e82f43e1962aaf19b6b118cb53
Contents?: true
Size: 242 Bytes
Versions: 59
Compression:
Stored size: 242 Bytes
Contents
# frozen_string_literal: true require 'carrierwave' class ApplicationUploader < CarrierWave::Uploader::Base storage :file def store_dir "system/uploads/#{model.class.model_name.to_s.underscore}/#{mounted_as}/#{model.id}" end end
Version data entries
59 entries across 59 versions & 1 rubygems