Class: Comable::ImageUploader

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

Instance Method Summary collapse

Instance Method Details

#store_dirObject


5
6
7
# File 'app/uploaders/comable/image_uploader.rb', line 5

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