Class: Daddy::Uploader::Base
- Inherits:
-
CarrierWave::Uploader::Base
- Object
- CarrierWave::Uploader::Base
- Daddy::Uploader::Base
- Defined in:
- lib/daddy/uploader.rb
Instance Method Summary collapse
Instance Method Details
#store_dir ⇒ Object
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 |