Class: Pulitzer::BaseUploader
- Inherits:
-
CarrierWave::Uploader::Base
- Object
- CarrierWave::Uploader::Base
- Pulitzer::BaseUploader
- Includes:
- CarrierWave::MiniMagick
- Defined in:
- app/uploaders/pulitzer/base_uploader.rb
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#store_dir ⇒ Object
4 5 6 |
# File 'app/uploaders/pulitzer/base_uploader.rb', line 4 def store_dir "uploads/#{model.class.to_s.underscore}/#{mounted_as}/#{model.id}" end |