Class: Virgo::ApplicationUploader

Inherits:
CarrierWave::Uploader::Base
  • Object
show all
Includes:
CarrierWave::MiniMagick
Defined in:
app/uploaders/virgo/application_uploader.rb

Instance Method Summary collapse

Instance Method Details

#store_dirObject


7
8
9
# File 'app/uploaders/virgo/application_uploader.rb', line 7

def store_dir
  "uploads/#{model.class.to_s.underscore}/#{mounted_as}/#{model.id}"
end