Class: IconUploader

Inherits:
CarrierWave::Uploader::Base
  • Object
show all
Defined in:
app/uploaders/icon_uploader.rb

Instance Method Summary collapse

Instance Method Details

#store_dirObject



6
7
8
# File 'app/uploaders/icon_uploader.rb', line 6

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