Sha256: a569e13e91f3c6f7c9937079e85baea2e70a9fdf7328d02bfa15e064a4368934
Contents?: true
Size: 192 Bytes
Versions: 3
Compression:
Stored size: 192 Bytes
Contents
module Coalla class FileUploader < CarrierWave::Uploader::Base storage :file def store_dir "uploads/#{model.class.to_s.underscore}/#{mounted_as}/#{model.id}" end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
coalla-cms-0.7.0.0 | lib/coalla/uploaders/file_uploader.rb |
coalla-cms-0.6.1.1 | lib/coalla/uploaders/file_uploader.rb |
coalla-cms-0.6.0.9 | lib/coalla/uploaders/file_uploader.rb |