Class: Daddy::Uploader::Base

Inherits:
CarrierWave::Uploader::Base
  • Object
show all
Defined in:
lib/daddy/uploader.rb

Instance Method Summary collapse

Instance Method Details

#store_dirObject



36
37
38
# File 'lib/daddy/uploader.rb', line 36

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