now should be saving to the directory without the wrong id in the name

This commit is contained in:
ilya 2010-07-23 15:49:08 -07:00
parent 031234f763
commit f866872d7a

View file

@ -4,7 +4,7 @@ class ImageUploader < CarrierWave::Uploader::Base
storage :grid_fs storage :grid_fs
def store_dir def store_dir
"files/#{model.id}" "files"
end end
def extension_white_list def extension_white_list