Class: StaffImageUploader

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

Instance Method Summary collapse

Instance Method Details

#store_dirObject



4
5
6
# File 'app/uploaders/staff_image_uploader.rb', line 4

def store_dir
  "staff_images/#{model.id}"
end