diff options
author | maxwell <maxwell@joindiaspora.com> | 2011-03-16 03:59:56 +0300 |
---|---|---|
committer | maxwell <maxwell@joindiaspora.com> | 2011-03-17 23:59:53 +0300 |
commit | bca184eaf3c4e028e43fcbb21b38d330e43e5f63 (patch) | |
tree | d50d18c94713e6a480ae57ec0d4150271e407885 /app/uploaders | |
parent | b987b47f5ffffd4d04e2e439602f10ae9d94dcdd (diff) |
photos are now successfully delayed
Diffstat (limited to 'app/uploaders')
-rw-r--r-- | app/uploaders/image_uploader.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/uploaders/image_uploader.rb b/app/uploaders/image_uploader.rb index 61cc524c0..d3783a9d5 100644 --- a/app/uploaders/image_uploader.rb +++ b/app/uploaders/image_uploader.rb @@ -18,6 +18,7 @@ class ImageUploader < CarrierWave::Uploader::Base end def post_process + self.send(:remove_versions!) unless self.file.file.include? '.gif' ImageUploader.instance_eval do version :thumb_small do |