Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 9ab762d6e6
Fetching contributors…

Cannot retrieve contributors at this time

14 lines (10 sloc) 0.234 kb
# encoding: utf-8
class SampleUploader < CarrierWave::Uploader::Base
storage :file
def store_dir
"uploads/#{model.class.to_s.underscore}/#{mounted_as}/#{model.id}"
end
def extension_white_list
%w(mp3 ogg)
end
end
Jump to Line
Something went wrong with that request. Please try again.