Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormaxwell <maxwell@joindiaspora.com>2011-03-16 03:59:56 +0300
committermaxwell <maxwell@joindiaspora.com>2011-03-17 23:59:53 +0300
commitbca184eaf3c4e028e43fcbb21b38d330e43e5f63 (patch)
treed50d18c94713e6a480ae57ec0d4150271e407885 /app/uploaders
parentb987b47f5ffffd4d04e2e439602f10ae9d94dcdd (diff)
photos are now successfully delayed
Diffstat (limited to 'app/uploaders')
-rw-r--r--app/uploaders/image_uploader.rb1
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