Photo filename is now better

This commit is contained in:
Raphael 2010-08-23 15:10:19 -07:00
parent 0cff5a45a2
commit dbb16faed1

View file

@ -11,9 +11,9 @@ class ImageUploader < CarrierWave::Uploader::Base
%w(jpg jpeg gif png) %w(jpg jpeg gif png)
end end
# def filename def filename
# model.id.to_s + File.extname(@filename) model.id.to_s + File.extname(@filename) if @filename
# end end
version :thumb_small do version :thumb_small do
process :resize_to_fill => [30,30] process :resize_to_fill => [30,30]