Sha256: ce1fc978e25deb5da8fa4782cfff2068adebd64039dc7637422804b92c349fee
Contents?: true
Size: 436 Bytes
Versions: 30
Compression:
Stored size: 436 Bytes
Contents
# frozen_string_literal: true module Spotlight ## # Page, browse category, and exhibit featured image thumbnails class FeaturedImageUploader < CarrierWave::Uploader::Base storage Spotlight::Engine.config.uploader_storage def extension_whitelist Spotlight::Engine.config.allowed_upload_extensions end def store_dir "uploads/#{model.class.to_s.underscore}/#{mounted_as}/#{model.id}" end end end
Version data entries
30 entries across 30 versions & 1 rubygems