Class: CloudinaryUploader

Inherits:
CarrierWave::Uploader::Base
  • Object
show all
Includes:
CarrierWave::Compatibility::Paperclip, Cloudinary::CarrierWave
Defined in:
app/models/cloudinary_uploader.rb

Instance Method Summary collapse

Instance Method Details

#paperclip_pathObject

Match the path defined in Spree::Image



10
11
12
# File 'app/models/cloudinary_uploader.rb', line 10

def paperclip_path
  "assets/products/:id/:style/:basename.:extension"
end